[darcs-users] how do i tell darcs that i changed my mind

David Roundy droundy at abridgegame.org
Tue Dec 7 12:07:05 UTC 2004


On Mon, Dec 06, 2004 at 04:59:05PM +0100, Tommy Pettersson wrote:
> On Mon, Dec 06, 2004 at 03:43:52PM +0100, Stefan Rank wrote:
> > is there another way?
> 
> rename the file before 'darcs revert'
> 
> or
> 
> edit _darcs/patches/pending (remove the line "addfile ./a.txt")

Yeah, this is an ugly business.  Revert really shouldn't remove files when
you revert the add, but it's hard to figure out when it's safe to *not*
remove it.  If you were simultaneously reverting a mv, the remove might be
necesary.  :(
-- 
David Roundy
http://www.darcs.net




More information about the darcs-users mailing list