make and edit file Foo.hs.
`darcs add Foo.hs`.
Decide I didn't want to add it, I wanted it to be an unrecorded change instead. How do I get rid of the pending add? I try
`darcs revert Foo.hs`.
I say "yes I want to revert addfile Foo.hs". It doesn't give me a chance to say whether I want to revert creating the file and filling it with text.
Luckily there is unrevert, which I knew about.
It turns out that `darcs unadd` is apparently actually the command I want, it successfully annhiliates the pending add even though it's an alias for `darcs remove`.

But I feel like the revert interface could still be safer somehow. Like asking you whether you want to revert the file contents first, and only if you do, allowing you to revert the addfile... although I'm not sure that's the most sensible tweak

-Isaac
_______________________________________________
darcs-users mailing list
[email protected]
http://lists.osuosl.org/mailman/listinfo/darcs-users

Reply via email to