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

Ed Santiago esm at edsantiago.com
Mon Jun 5 09:59:48 CDT 2006


  >hg forget has been deprecated, in favor of hg revert. I like the fact
  >that there's one less command to learn (for new users)

That's because "hg forget" didn't work well: new word, nonstandard,
nonintuitive.

How about "hg unadd"?  It is extremely simple, intuitive, and
(should be) 100% safe.  It is a meaningful name, and one that
some people would naturally try without even reading documentation.

"hg unremove" could serve a similar purpose.  

The tradeoff is command clutter, but IMHO the benefit is much
less user confusion.

^E
-- 
Ed Santiago               Toolsmith               esm at edsantiago.com



More information about the Mercurial mailing list