[issue434] Allow removal of files from changeset via commit msg

Steve Borho mercurial-bugs at selenic.com
Tue Nov 28 00:31:49 CST 2006


New submission from Steve Borho <steve at borho.org>:

A nice feature of perforce is that it allows you to prune from the list of 
files you are about to commit by simply deleting them from the list provided at 
the bottom of the commit message.  For example,


HG: changed Makefile
HG: changed a/foo.c
HG: changed b/bar.c
HG: changed c/baz.c

If you didn't want to check in the Makefile at this time, you could delete that 
line from the file list, provide the log message, then exit.  Mercurial could 
detect that line had been removed and react appropriately.  This is easier than 
aborting your editor and typing:

hg commit a/foo.c b/bar.c c/baz.c

----------
messages: 2453
nosy: sborho
priority: wish
status: unread
title: Allow removal of files from changeset via commit msg

____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue434>
____________________________________________________



More information about the Mercurial-devel mailing list