problem with mq extension
Chen XI
xichen1427 at gmail.com
Tue Dec 13 23:13:32 UTC 2011
Commands like "hg add filename" are not necessary, as I think, if we
already use Mq to manage the changeset.
For example, refer to the Mq wiki page:
http://mercurial.selenic.com/wiki/MqExtension#Command_Examples
We just use "qnew patchname" or "qrefresh", then changes will be commited.
-- Chen
PS: My brain goes wrong today ??
2011/12/14 Matt Mackall <mpm at selenic.com>
> On Tue, 2011-12-13 at 23:57 +0100, Chen XI wrote:
> > In general, the topmost patch is not updated by command "qnew" or
> > "qrefresh" when modification occurs. The scenario is very simple. I paste
> > the command and output here.
> > --------------------
> > xc1427 at xc1427-laptop:~/mercurial_practice$ hg init test
> > xc1427 at xc1427-laptop:~/mercurial_practice$ cd test
> > xc1427 at xc1427-laptop:~/mercurial_practice/test$ hg init --mq
> > xc1427 at xc1427-laptop:~/mercurial_practice/test$ echo "blabla" > file
>
> Here you need to "hg add file".
>
> > xc1427 at xc1427-laptop:~/mercurial_practice/test$ hg status
> > ? file
>
> The '?' is short for "hey, did you know there's this file here that
> you've never told me to add or ignore?"
>
> --
> Mathematics is the supreme nostalgia of our time.
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20111214/b2dfd7b2/attachment-0002.html>
More information about the Mercurial
mailing list