Show More
@@ -112,7 +112,7 b' commit [-A -t -l <file> -m <text> -u <us' | |||
|
112 | 112 | Options: |
|
113 | 113 | |
|
114 | 114 | -A, --addremove run addremove during commit |
|
115 |
-m, -- |
|
|
115 | -m, --message <text> use <text> as commit message | |
|
116 | 116 | -l, --logfile <file> show the commit message for the given file |
|
117 | 117 | -d, --date <datecode> record datecode as commit date |
|
118 | 118 | -u, --user <user> record user as commiter |
@@ -358,7 +358,7 b' tag [-l -m <text> -d <datecode> -u <user' | |||
|
358 | 358 | |
|
359 | 359 | options: |
|
360 | 360 | -l, --local make the tag local |
|
361 |
-m, -- |
|
|
361 | -m, --message <text> message for tag commit log entry | |
|
362 | 362 | -d, --date <datecode> datecode for commit |
|
363 | 363 | -u, --user <user> user for commit |
|
364 | 364 |
@@ -460,7 +460,7 b' def clone(ui, source, dest=None, **opts)' | |||
|
460 | 460 | |
|
461 | 461 | def commit(ui, repo, *files, **opts): |
|
462 | 462 | """commit the specified files or all outstanding changes""" |
|
463 | text = opts['text'] | |
|
463 | text = opts['message'] or opts['text'] | |
|
464 | 464 | logfile = opts['logfile'] |
|
465 | 465 | if not text and logfile: |
|
466 | 466 | try: |
@@ -1101,7 +1101,7 b' table = {' | |||
|
1101 | 1101 | "^commit|ci": |
|
1102 | 1102 | (commit, |
|
1103 | 1103 | [('A', 'addremove', None, 'run add/remove during commit'), |
|
1104 |
('m', ' |
|
|
1104 | ('m', 'message', "", 'commit message'), | |
|
1105 | 1105 | ('t', 'text', "", 'commit message (deprecated: use -m)'), |
|
1106 | 1106 | ('l', 'logfile', "", 'commit text file'), |
|
1107 | 1107 | ('d', 'date', "", 'date code'), |
@@ -18,13 +18,13 b' writing tests:' | |||
|
18 | 18 | |
|
19 | 19 | - hg commit and hg up -m want user interaction |
|
20 | 20 | |
|
21 |
for commit use - |
|
|
21 | for commit use -m "text" | |
|
22 | 22 | for hg up -m, set HGMERGE to something noninteractive (like true or merge) |
|
23 | 23 | |
|
24 | 24 | - changeset hashes will change based on user and date which make |
|
25 | 25 | things like hg history output change |
|
26 | 26 | |
|
27 |
use commit - |
|
|
27 | use commit -m "test" -u test -d "0 0" | |
|
28 | 28 | |
|
29 | 29 | - diff will show the current time |
|
30 | 30 |
General Comments 0
You need to be logged in to leave comments.
Login now