diff tests/test-fix-topology.t @ 44560:40f4a75938ba

fix: disallow `hg fix --all --working-dir` `--all` implies `--working-dir`, so it's probably a mistake if the user uses both. Differential Revision: https://phab.mercurial-scm.org/D8284
author Martin von Zweigbergk <martinvonz@google.com>
date Fri, 13 Dec 2019 15:14:57 -0800
parents ea40fea992e0
children 5205b46bd887
line wrap: on
line diff
--- a/tests/test-fix-topology.t	Thu Mar 12 16:25:22 2020 -0700
+++ b/tests/test-fix-topology.t	Fri Dec 13 15:14:57 2019 -0800
@@ -271,6 +271,9 @@
 
   $ hg init fixall
   $ cd fixall
+  $ hg fix --all --working-dir
+  abort: cannot specify both --working-dir and --all
+  [255]
 
 #if obsstore-on
   $ printf "one\n" > foo.whole