HOWTO undo results of "hg add"??

Peter Arrenbrecht peter.arrenbrecht at gmail.com
Thu May 29 06:11:54 UTC 2008


On Thu, May 29, 2008 at 3:01 AM, Leo Razoumov <slonik.az at gmail.com> wrote:
> On 5/28/08, Peter Arrenbrecht <peter.arrenbrecht at gmail.com> wrote:
>> On Wed, May 28, 2008 at 10:40 PM, Leo Razoumov <slonik.az at gmail.com> wrote:
>>  > On 5/28/08, Will Maier <willmaier at ml1.net> wrote:
>>  >> It could be a bit better:
>>  >>
>>  >>    hg status -an0 | xargs -r0 hg revert
>>  >>
>>  >
>>  > Thanks, this is what I was looking for. IMHO this Q/A belongs to FAQ.
>>
>>
>> The FAQ is a wiki. Care to add it yourself?
>>  -parren
>
> I tried but all the relevant pages at
> http://www.selenic.com/mercurial/wiki/index.cgi/TipsAndTricks
> are "immutable" and prevent ordinary folks like me (no registered
> account) from contributing. It would be great if someone with proper
> authority enters this elegant solution into the TipsAndTricks. There
> first entry is called "undo hg add" but provides a very limited
> solution.

I appreciate your effort in trying. Have added it.
-parren



More information about the Mercurial mailing list