I got confused today when I saw this output in 'darcs whatsnew'. It
appears the same file was moved to /two different/ names from the same source! 
That's not possible. Here's what part of the whatsnew output looked
like: 

 ./www/Templates/includes/relaxed-shelter-form.html -> 
./www/Templates/includes/shelter-form-external-relaxed.html
 ./www/Templates/includes/shelter-form-NEW.html -> 
./www/Templates/includes/shelter-form.html
 ./www/Templates/includes/shelter-form-NEW.html -> 
./www/Templates/includes/shelter-form-external.html
 ./www/Templates/includes/shelter-form.html -> 
./www/Templates/includes/shelter-form-internal.html
M ./perllib/SAP/ShelterMgmt.pm -25 +11
M ./test/public/shelter_add_func.pl -64 +3
A ./www/Templates/includes/shelter-form-NEW.html

#####

It's no wonder I was confused: After moving the file, I added another file with
the same original name to the tree, and then moved it to have a different name.
This rather bizarre sequence was part of creating and then recovering from some
poor renaming earlier.  Normally people shouldn't be creating this kind of
confusion for themselves!

So darcs is reporting something that is actually possible, if rare. 

It would have been helpful if the "A" entry appeared "in order", which
would have cleared up the confusion: 

   ./www/Templates/includes/shelter-form-NEW.html -> 
./www/Templates/includes/shelter-form.html
 A ./www/Templates/includes/shelter-form-NEW.html
   ./www/Templates/includes/shelter-form-NEW.html -> 
./www/Templates/includes/shelter-form-external.html

I'm not reporting this as a bug directly, because it's an edge case that
I'm not sure is worth fixing. However, it seemed worth noting.

    Mark


_______________________________________________
darcs-devel mailing list
[email protected]
http://www.abridgegame.org/cgi-bin/mailman/listinfo/darcs-devel

Reply via email to