diff -r 75bd5990d8fe -r ff1ff2aae132 tests/test-uncommit.t --- a/tests/test-uncommit.t Fri Jun 14 17:50:04 2019 +0100 +++ b/tests/test-uncommit.t Sat Sep 07 13:44:29 2019 -0400 @@ -38,6 +38,10 @@ --allow-dirty-working-copy allow uncommit with outstanding changes -I --include PATTERN [+] include names matching the given patterns -X --exclude PATTERN [+] exclude names matching the given patterns + -m --message TEXT use text as commit message + -l --logfile FILE read commit message from file + -d --date DATE record the specified date as commit date + -u --user USER record the specified user as committer (some details hidden, use --verbose to show complete help) @@ -531,9 +535,18 @@ $ mkdir dir $ echo 1 > dir/file.txt $ hg ci -Aqm 'add file in directory' - $ hg uncommit dir + $ hg uncommit dir -m 'uncommit with message' -u 'different user' \ + > -d 'Jun 30 12:12:12 1980 +0000' $ hg status A dir/file.txt + $ hg log -r . + changeset: 8:b4dd26dc42e0 + tag: tip + parent: 6:2278a4c24330 + user: different user + date: Mon Jun 30 12:12:12 1980 +0000 + summary: uncommit with message + `uncommit ` and `cd && uncommit .` behave the same...