Bug 3169 - user/username options inconsistency
Summary: user/username options inconsistency
Status: RESOLVED FIXED
Alias: None
Product: Mercurial
Classification: Unclassified
Component: Mercurial (show other bugs)
Version: unspecified
Hardware: All All
: wish feature
Assignee: Bugzilla
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-22 09:28 UTC by techtonik
Modified: 2014-09-04 13:48 UTC (History)
2 users (show)

See Also:
Python Version: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description techtonik 2011-12-22 09:28 UTC
Another UI/UX bug that needs to be presented as such to say those hackers who 
think that users are too dumb to understand Unix philosophy, that I know 
that, but still report this as a Mercurial bug.

So, the problem is that command line uses `--user` option and config uses 
`username` section to provide value for the same thing. That's hard to 
remember.
Comment 1 Martin Geisler 2012-01-13 04:20 UTC
We could actually change --user to --username. People can continue using

  hg commit --user foo

since prefixes are supported.
Comment 2 techtonik 2012-01-13 04:28 UTC
I would change that to 'user' as it is easier to type from command line, but 
looks like there is no such choice, so consistency is better.
Comment 3 Bugzilla 2012-05-12 09:26 UTC

--- Bug imported by bugzilla@serpentine.com 2012-05-12 09:26 EDT  ---

This bug was previously known as _bug_ 3168 at http://mercurial.selenic.com/bts/issue3168
Comment 4 Matt Mackall 2014-07-25 17:22 UTC
Bulk close: no activity for >2 years -> WONTFIX
Comment 5 Matt Mackall 2014-07-31 13:23 UTC
Bulk change recent WONTFIX -> new, more descriptive ARCHIVED state (sorry for the spam)
Comment 6 techtonik 2014-07-31 13:39 UTC
Looks like its going to be fixed and not archived.

http://patchwork.serpentine.com/patch/5204/
Comment 7 HG Bot 2014-07-31 14:30 UTC
Fixed by http://selenic.com/repo/hg/rev/6dfb78f18bdb
anatoly techtonik <techtonik@gmail.com>
config: allow 'user' in .hgrc ui section (issue3169)

(please test the fix)