[darcs-devel] [issue1763] "m doesn't conflict with mm in is_consistent" after darcs1 -> darcs2 conversion

Attila Lendvai bugs at darcs.net
Thu Mar 11 13:39:14 UTC 2010


New submission from Attila Lendvai <attila.lendvai at gmail.com>:

this is with two branches of a darcs1 repo that had many unresolved 
conflicts before it has been converted to darcs2.

i've made sure that i pull all the patches (that i could) into a merged 
darcs1 repo, then used darcs 2.3.1 to convert this merge repo to darcs2, 
and then i reconstructed the two darcs2 branches from the darcs2 version 
of the merge repo using unpull and applying+recording patches.

darcs convert in 2.4 became very slow, that's why i've used 2.3.1 for the 
conversion.

unfortunately the repo is not public. it contains unicode filenames and 
file contents.

i've tried with 2.3.1, but it behaved the same.


alendvai at ed101:/tmp/nafi$ darcs --version
2.4 (release)
alendvai at ed101:/tmp$ darcs get ~/workspace/nafi/
Copying patches, to get lazy repository hit ctrl-C...
Finished getting.                                             
alendvai at ed101:/tmp$ darcs get /opt/ebr42-nafi/workspace/ebr42/
Copying patches, to get lazy repository hit ctrl-C...
Finished getting.                                             
alendvai at ed101:/tmp$ cd nafi/                                 
alendvai at ed101:/tmp/nafi$ darcs push ../ebr42/
The remote repository has 3 patches to pull.
Fri Feb 12 15:13:35 CET 2010  tomi.borbely at gmail.com
  * new slots in támogatási-kifizetés class
Shall I push this patch? (1/120)  [ynWsfvplxdaqjk], or ? for help: q
Push cancelled.
alendvai at ed101:/tmp/nafi$ darcs pull ../ebr42/
Pulling from "/tmp/ebr42"...
Wed Mar 10 17:32:14 CET 2010  tomi.borbely at gmail.com
  * fixek a 2. negyedévi támogatások számításához
Shall I pull this patch? (1/3)  [ynWvplxdaqjk], or ? for help: n
Wed Mar 10 19:35:41 CET 2010  tomi.borbely at gmail.com
  * notes
Shall I pull this patch? (2/3)  [ynWsfvplxdaqjk], or ? for help: n
Thu Mar 11 14:06:04 CET 2010  attila.lendvai at gmail.com
  * felmeres persistent singletons are exported
Shall I pull this patch? (3/3)  [ynWsfvplxdaqjk], or ? for help: y
Backing up ./source/model/közoktatási-egyedi-megállapodás.lisp(-darcs-
backup0)
We have conflicts in the following files:
./source/model/közoktatási-egyedi-megállapodás.lisp
Finished pulling and applying.
alendvai at ed101:/tmp/nafi$ darcs pull ../ebr42/
Pulling from "/tmp/ebr42"...
darcs: Inconsistent patch:
conflictor [
hunk ./source/model/közoktatási-egyedi-megállapodás.lisp 13
-                ,@(iter (for entry :in entries)
-                        (collect (bind (((name-part &optional (variable-
name-part name-part)) (ensure-list entry))
-                                        (name (format nil "Adatgyűjtés a 
közoktatási egyedi megállapodásokhoz (~A)" name-part))
-                                        (constant-name (symbolicate 
'#:+közoktatási-egyedi-megállapodások-felmérése/ (string-upcase variable-
name-part) "+"))
-                                        (variable-name (symbolicate 
'#:*közoktatási-egyedi-megállapodások-felmérése/ (string-upcase variable-
name-part) "*")))
-                                   `(progn
-                                      (def (constant e :test #'equal)
-                                          ,constant-name ,name)
-                                      (def singleton-persistent-instance 
,variable-name
-                                          (aprog1
-                                              (select-felmérés :név 
,name)
-                                            (assert it))))))))))
-  (x "terv" "január" "február" "március" "április" "május" "június" 
"július" "augusztus" "szeptember" "október" "november" "december"
-     ("I. negyedév"   1.negyedév)
-     ("II. negyedév"  2.negyedév)
-     ("III. negyedév" 3.negyedév)
-     ("IV. negyedév"  4.negyedév)
-     "beszámoló"))
+                ,@(iter (for name :in names)
+                        (collect `(def (constant e :test #'equal)
+                                      ,(format-symbol *package* 
"+KÖZOKTATÁSI-EGYEDI-MEGÁLLAPODÁSOK-FELMÉRÉSE/~A+" (string-upcase name))
+                                      ,(format nil "Adatgyűjtés a 
közoktatási egyedi megállapodásokhoz (~A)" (string-downcase name))))))))
+  (x "terv" "január" "február" "március" "április" "május" "június" 
"július" "augusztus" "szeptember" "október" "november" "december" 
"beszámoló"))
hunk ./source/model/közoktatási-egyedi-megállapodás.lisp 13
-                ,@(iter (for name :in names)
-                        (collect `(def (constant e :test #'equal)
-                                      ,(format-symbol *package* 
"+KÖZOKTATÁSI-EGYEDI-MEGÁLLAPODÁSOK-FELMÉRÉSE/~A+" (string-upcase name))
-                                      ,(format nil "Adatgyűjtés a 
közoktatási egyedi megállapodásokhoz (~A)" (string-downcase name))))))))
-  (x "terv" "január" "február" "március" "április" "május" "június" 
"július" "augusztus" "szeptember" "október" "november" "december" 
"beszámoló"))
+                ,@(iter (for entry :in entries)
+                        (collect (bind (((name-part &optional (variable-
name-part name-part)) (ensure-list entry))
+                                        (name (format nil "Adatgyűjtés a 
közoktatási egyedi megállapodásokhoz (~A)" name-part))
+                                        (constant-name (symbolicate 
'#:+közoktatási-egyedi-megállapodások-felmérése/ (string-upcase variable-
name-part) "+"))
+                                        (variable-name (symbolicate 
'#:*közoktatási-egyedi-megállapodások-felmérése/ (string-upcase variable-
name-part) "*")))
+                                   `(progn
+                                      (def (constant e :test #'equal)
+                                          ,constant-name ,name)
+                                      (def singleton-persistent-instance 
,variable-name
+                                          (aprog1
+                                              (select-felmérés :név 
,name)
+                                            (assert it))))))))))
+  (frob "terv" "január" "február" "március" "április" "május" "június" 
"július" "augusztus" "szeptember" "október" "november" "december"
+        ("I. negyedév"   1.negyedév)
+        ("II. negyedév"  2.negyedév)
+        ("III. negyedév" 3.negyedév)
+        ("IV. negyedév"  4.negyedév)
+        "beszámoló"))
]
|:
hunk ./source/model/k�zoktat�si-egyedi-meg�llapod�s.lisp 21
-                                      (def singleton-persistent-instance 
,variable-name
+                                      (def (singleton-persistent-instance 
e) ,variable-name
m doesn't conflict with mm in is_consistent
alendvai at ed101:/tmp/nafi$ darcs check
The repository is consistent!
alendvai at ed101:/tmp/nafi$ darcs check
The repository is consistent!                                                   
alendvai at ed101:/tmp/nafi$ darcs show repo
          Type: darcs
        Format: hashed, darcs-2
          Root: /tmp/nafi
      Pristine: HashedPristine
         Cache: thisrepo:/tmp/nafi, cache:/home/alendvai/.darcs/cache, 
cache:/home/ati/.darcs/cache, repo:/home/alendvai/workspace/nafi, 
repo:/home/alendvai/Desktop/conversion/merge.without-deadly-
conflicts.darcs2
boringfile Pref: .boring
Default Remote: /tmp/ebr42
   Num Patches: 3004
alendvai at ed101:/tmp/nafi$

----------
messages: 10162
nosy: attila.lendvai, darcs-devel, dmitry.kurochkin
status: unknown
title: "m doesn't conflict with mm in is_consistent" after darcs1 -> darcs2 conversion

__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/issue1763>
__________________________________


More information about the darcs-devel mailing list