HOWTO undo results of "hg add"??
Brendan Cully
brendan at kublai.com
Thu May 29 06:32:48 UTC 2008
On Wednesday, 28 May 2008 at 21:01, Leo Razoumov 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.
It only takes a moment to create an account, by the way. It doesn't
require anybody to approve it.
More information about the Mercurial
mailing list