[darcs-users] How to remove an "add"
VMiklos
vmiklos at frugalware.org
Sat Mar 10 01:33:12 UTC 2007
Na Fri, Mar 09, 2007 at 11:26:49PM +0000, "Peter B. West" <lists at pbw.id.au> pisal(a):
> Sometimes I forget, as now, and move a file, then perform a "darcs add"
> without the move. Is there a safe way to revert a "darcs add"?
if you already recorded the patch, then just "darcs remove" it, that way
it won't be deleted from the local filesystem, but:
1) it will be deleted, if you push the patch to a remote repo
2) if the patch is not recorded then "darcs revert" will delete the file
in such case i usually just edit _darcs/patches/pending manually and
remove the addfile line
VMiklos
--
developer of Frugalware Linux - http://frugalware.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.osuosl.org/pipermail/darcs-users/attachments/20070310/549f628d/attachment.pgp
More information about the darcs-users
mailing list