Proposal: hg unadd (was Re: What is preferred way to undo add? )

Andy Isaacson adi at hexapodia.org
Wed Jun 14 18:31:16 CDT 2006


On Tue, Jun 06, 2006 at 11:29:06AM -0700, Bryan O'Sullivan wrote:
> On Mon, 2006-06-05 at 08:59 -0600, Ed Santiago wrote:
> > How about "hg unadd"?
> 
> -1
> 
> The reason is that this proliferates commands needlessly.  If unadd is
> good, why not also have unremove, uncopy, and unrename?

So long as "hg help add" tells me what command to use to undo the add, I
don't really care what the command is.  But, having it be a subcommand
of a potentially-destructive command like "hg revert" seems like a bit
too much rope to shoot myself in the foot with.

-andy (mangled aphorisms 'r' us)


More information about the Mercurial mailing list