Mercurial > hg
comparison tests/test-uncommit.t @ 42920:a50661567f83
uncommit: drop the hyphen from --current-user and --current-date
I didn't pay enough attention to these long forms- graft, amend and MQ already
use the old style naming. It's probably more important to be consistent than
modern. The hypenated style came from evolve.
Yuya mentioned this naming discrepancy in 4145fd3569c3, but it didn't attract
any discussion[1]. There's also a bit of inconsistency in that the default
parameter for `currentdate` is `False` for graft, and `None` for the rest.
[1] https://www.mercurial-scm.org/pipermail/mercurial-devel/2019-January/126767.html
Differential Revision: https://phab.mercurial-scm.org/D6841
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Tue, 10 Sep 2019 22:04:22 -0400 |
parents | 66048f6b5d0d |
children | 4690902850df |
comparison
equal
deleted
inserted
replaced
42919:6ccf539aec71 | 42920:a50661567f83 |
---|---|
40 -X --exclude PATTERN [+] exclude names matching the given patterns | 40 -X --exclude PATTERN [+] exclude names matching the given patterns |
41 -m --message TEXT use text as commit message | 41 -m --message TEXT use text as commit message |
42 -l --logfile FILE read commit message from file | 42 -l --logfile FILE read commit message from file |
43 -d --date DATE record the specified date as commit date | 43 -d --date DATE record the specified date as commit date |
44 -u --user USER record the specified user as committer | 44 -u --user USER record the specified user as committer |
45 -D --current-date record the current date as commit date | 45 -D --currentdate record the current date as commit date |
46 -U --current-user record the current user as committer | 46 -U --currentuser record the current user as committer |
47 | 47 |
48 (some details hidden, use --verbose to show complete help) | 48 (some details hidden, use --verbose to show complete help) |
49 | 49 |
50 Uncommit with no commits should fail | 50 Uncommit with no commits should fail |
51 | 51 |