diff tests/test-uncommit.t @ 44213:5323cdb8ae33

tests: use full `uncommit` command name in tests I'm about to add a `hg uncopy`, so the `hg unc` we used for `hg uncommit` would become ambiguous. Differential Revision: https://phab.mercurial-scm.org/D8028
author Martin von Zweigbergk <martinvonz@google.com>
date Fri, 20 Dec 2019 16:16:57 -0800
parents 2e672ccc2220
children 5c2a4f37eace
line wrap: on
line diff
--- a/tests/test-uncommit.t	Tue Jan 28 14:53:23 2020 -0800
+++ b/tests/test-uncommit.t	Fri Dec 20 16:16:57 2019 -0800
@@ -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