[Bug 4107] New: hg record will not accept a username via '-u' command line parameter.

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Wed Nov 20 00:59:40 CST 2013


http://bz.selenic.com/show_bug.cgi?id=4107

          Priority: normal
            Bug ID: 4107
                CC: mercurial-devel at selenic.com
          Assignee: bugzilla at selenic.com
           Summary: hg record will not accept a username via '-u' command
                    line parameter.
          Severity: bug
    Classification: Unclassified
                OS: Linux
          Reporter: sandeepcr2 at gmail.com
          Hardware: PC
            Status: UNCONFIRMED
           Version: 2.8
         Component: record
           Product: Mercurial

hg record command will not accept a username via -u or --user command line
option. It only accepts a username provided in the ui section of the hgrc
configuration file.

Steps to reproduce.

Make sure you have no username parameter in any of your hgrc files.

hg record --user sandeep
abort: no username supplied (see "hg help config")


hg record -u sandeep
abort: no username supplied (see "hg help config")

It only works if I add a username in the [ui] section of hgrc file.


Expected Results:

The -u flag should behave in the same way it works for hg commit.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list