interactive refresh of mq

Christian Widmer cwidmer at gmail.com
Wed Feb 12 03:55:15 UTC 2014


newly added files gets added to the current patch even if i say not to do so

example:

having 2 modified and one new file
@:> hg stat
M file1.txt
A file2.txt

having an empty patch queue
@:> hg qser
stage
@:> hg diff -c qtip

interactively add file1.txt where reject the new file file2.txt

@:> hg qref -i
diff --git a/file1.txt b/file1.txt
2 hunks, 4 lines changed
examine changes to 'file1.txt'? [Ynesfdaq?] f

diff --git a/file2.txt b/file2.txt
new file mode 100644
examine changes to 'file2.txt'? [Ynesfdaq?] n

all files also the new one has been added to the patch queue
@:> hg
st

@:> hg status --change qtip
M file1.txt
A file2.txt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20140212/81ab5fe0/attachment-0002.html>


More information about the Mercurial mailing list