[darcs-users] post-hoc move

Trent W. Buck trentbuck at gmail.com
Sun Aug 2 06:20:33 UTC 2009


Hamish Allan <hamish at gmail.com> writes:

> Is there any way to persuade darcs that a unix mv I'm already
> performed is a move rather than a remove?

Supposing you did "mv a b".  There are two ways to make Darcs know about
this:

  1. move it back ("mv b a"), then use "darcs mv a b".
  2. edit _darcs/patches/pending.

I advise you to avoid the latter, as it is vulnerable to changes in
Darcs' on-disk format.



More information about the darcs-users mailing list