> hg record --user "anatoly techtonik <techtonik@gmail.com>" abort: no username supplied (see "hg help config") > hg record -h ... -d --date DATE record the specified date as commit date -u --user USER record the specified user as committer -S --subrepos recurse into subrepositories ...
Works for me. Got more details about version, etc?
I think the crucial fact here is no ui.username setting. dorecord invokes ui.username at various points. $ HGRCPATH= hg --config extensions.record= record -u bob abort: no username supplied (see "hg help config")
> hg --version Mercurial Distributed SCM (version 2.5.2) Vista 32
*** Bug 4107 has been marked as a duplicate of this bug. ***
Fixed by http://selenic.com/repo/hg/rev/a765611e06dc Prasoon Shukla <prasoon92.iitr@gmail.com> record: --user/-u now works with record when ui.username not set (issue3857) The -u flag didn't work when ui.username was not set and resulted in an abort message. This was fixed by checking for the 'user' key in the opts dictionary. If the key is present, the step causing the exception is not executed. (please test the fix)
2.8.1 - still broken. >hg record --user "anatoly techtonik <techtonik@gmail.com>" abort: no username supplied (see "hg help config") >hg version Mercurial Distributed SCM (version 2.8.1)
Bug was inactive for 406 days, archiving
Not sure it is RESOLVED. The correct Status should be something like ARCHIVED with no Resolution. On Thu, Feb 26, 2015 at 9:00 AM, <mercurial-bugs@selenic.com> wrote: > http://bz.selenic.com/show_bug.cgi?id=3857 > > Bugzilla <bugzilla@selenic.com> changed: > > What |Removed |Added > ---------------------------------------------------------------------------- > Status|CONFIRMED |RESOLVED > Resolution|--- |ARCHIVED > > --- Comment #7 from Bugzilla <bugzilla@selenic.com> --- > Bug was inactive for 406 days, archiving > > -- > You are receiving this mail because: > You reported the bug.
Take it up with the Bugzilla project. RESOLVED is what they call the terminal state of bugs, ARCHIVED is what we call the "insufficient interest" substate. http://mercurial.selenic.com/wiki/BugTracker#Why_we_auto-close_old_issues But as it happens, this bug was in fact correctly fixed ages ago and you tested the wrong branch.
I thought that all modern trackers allow to configure the states and workflow. But I don't know Bugzilla - I tried to add OpenID support to it, but it is written in Perl, so I abandoned it long ago. I suspected that it resolved, but don't have time to test it, so hoped to find it at some point later - like query all archived bugs that are not resolved and see if I can test all at once. Right now it is impossible.