#171: converting darcs' darcs to git results in a corrupted repo
----------------------+-----------------------------------------------------
  Reporter:  vmiklos  |       Owner:  lele      
      Type:  defect   |      Status:  new       
  Priority:  major    |   Milestone:  VersionOne
 Component:  tailor   |     Version:  0.9       
Resolution:           |    Keywords:            
----------------------+-----------------------------------------------------

Comment(by vmiklos):

 OK, I have a bad and a good news.

 The good one is that I figured out what is the problem in a small
 testcase.

 The bad one is that I really have no idea how to solve it.

 Create the following repo:

 dr init
 echo a > a
 dr add a
 dr rec -a -m i
 dr mv a b
 rm b
 dr rec
 echo a > a
 echo b > b
 dr add a b
 dr rec -a -m "add a b"
 rm b
 dr rec
 dr mv a b
 dr amend-rec

 and if now you do a dr chan --xml -s, you get the same output for two
 totally different cases:

 1) rename A B, and remove B

 2) remove A, rename A B

 and there is no way to figure out which one did you want to do. In other
 words as long as darcs puts those "move" lines on top of the xml output
 and tailor uses only the xml output for info, it can't properly convert
 this repo.

 Feel free to prove me wrong. :-S

 Thanks.

-- 
Ticket URL: <http://progetti.arstecnica.it/tailor/ticket/171#comment:3>
Tailor <http://progetti.arstecnica.it/tailor>
An inter-VCs changeset exchanger
_______________________________________________
Tailor mailing list
Tailor@lists.zooko.com
http://lists.zooko.com/mailman/listinfo/tailor

Reply via email to