D8028: tests: use full `uncommit` command name in tests
martinvonz (Martin von Zweigbergk)
phabricator at mercurial-scm.org
Thu Jan 30 10:38:57 EST 2020
Closed by commit rHG4f4382291204: tests: use full `uncommit` command name in tests (authored by martinvonz).
This revision was automatically updated to reflect the committed changes.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D8028?vs=19661&id=19719
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D8028/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D8028
AFFECTED FILES
tests/test-uncommit.t
CHANGE DETAILS
diff --git a/tests/test-uncommit.t b/tests/test-uncommit.t
--- a/tests/test-uncommit.t
+++ b/tests/test-uncommit.t
@@ -489,7 +489,7 @@
$ hg add b
$ hg status
A b
- $ hg unc a
+ $ hg uncommit a
note: keeping empty commit
$ cat a
super critical info!
@@ -503,11 +503,11 @@
$ hg ci -Am 'add b'
$ echo 'foo bar' > b
- $ hg unc b
+ $ hg uncommit b
abort: uncommitted changes
(requires --allow-dirty-working-copy to uncommit)
[255]
- $ hg unc --allow-dirty-working-copy b
+ $ hg uncommit --allow-dirty-working-copy b
$ hg log
changeset: 3:30fa958635b2
tag: tip
To: martinvonz, #hg-reviewers, durin42, pulkit
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list