problem with mq extension

Matt Mackall mpm at selenic.com
Tue Dec 13 23:13:48 UTC 2011


On Wed, 2011-12-14 at 00:08 +0100, Chen XI wrote:
> Commands like "hg add filename" is not necessary, 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.

The key difference between that example and yours is this at the top:

"cd some_existing_hg_repository"

The existing example assumes there is a repo with a bunch of
already-tracked files in it.

In your example, you have a brand new repo and a brand new file. And
Mercurial, like most other SCMs, will NEVER just automatically start
tracking new files without you telling it to.

-- 
Mathematics is the supreme nostalgia of our time.





More information about the Mercurial mailing list