Add -i/--interactive switch to "hg add"

Anton Gogolev anton.gogolev at gmail.com
Thu Mar 13 03:20:11 CDT 2014


To cut to the chase: wouldn't it be cool to have an "interactive add"
session, when in response for "hg add *.* -i", Mercurial would ask for
every untracked file what would you like to do with it:

- a - Add
- i - Ignore (and add to .hgignore)
- d - Delete
- s - Skip

Not sure how this lines up with the overall vision (case in point: "hg
histedit" launches editor to fiddle with commits), but worth discussing
nevertheless, doesn't it?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20140313/cdddddc7/attachment.html>


More information about the Mercurial-devel mailing list