[darcs-users] darcs cp

Ian Lynagh igloo at earth.li
Sat Jul 10 12:17:00 UTC 2004

Hi all,

Why is there no "darcs cp" command?

If I have a large source file that I want to refactor into two smaller
ones then I'd like to "darcs cp curfile newfile" before deleting chunks
from each so that the history of newfile is complete.

google has just found me
http://www.abridgegame.org/pipermail/darcs-users/2003/000550.html which
seems to conclude that darcs cp wouldn't be useful as "if a patch type
doesn't commute then its only benefit is in reducing repository size",
but I don't think that is true as there is also the history issue. Or am
I missing another way to do what I want?


More information about the darcs-users mailing list