qnew ignores -u unless username is configured

Kyle Altendorf kyle.altendorf at gmail.com
Fri Nov 6 14:45:40 CST 2009


It appears that the qnew command ignores the -u option unless I have
set a username in one of my config files.  I tried the following with
and without a configured username:

mkdir test.qnewUsername
cd test.qnewUsername
hg init
hg qnew red -u blue

Without a configured username the last line responded with:

> abort: Please specify a username.

With a configured username (that was not 'blue') it worked as I would
have expected creating a blank patch containing:

> From: blue
>
>

I am on Windows XP with the latest TortoiseHg release candidate
installed.  hg version reports:

> Mercurial Distributed SCM (version 1.3.1+295-1de5ebfa5585)

Certainly I will just specify a username for now but am I doing
something wrong or is this a bug?

Thanks,
-kyle


More information about the Mercurial mailing list