diff tests/test-debugcommands.t @ 46821:e8ae91b1a63d

rhg: raise wdir specific error for `hg debugdata` Helps remove the conditional in `test-debugcommands.t` for rhg. Differential Revision: https://phab.mercurial-scm.org/D10254
author Pulkit Goyal <7895pulkit@gmail.com>
date Tue, 23 Mar 2021 19:58:49 +0530
parents 5a2212d40398
children 84a93fa7ecfd
line wrap: on
line diff
--- a/tests/test-debugcommands.t	Sat Mar 20 02:03:57 2021 +0530
+++ b/tests/test-debugcommands.t	Tue Mar 23 19:58:49 2021 +0530
@@ -531,17 +531,9 @@
 
 Test WdirUnsupported exception
 
-#if no-rhg
   $ hg debugdata -c ffffffffffffffffffffffffffffffffffffffff
   abort: working directory revision cannot be specified
   [255]
-#else
-TODO: add rhg support for (at least parsing) the working directory pseudo-changeset
-  $ hg debugdata -c ffffffffffffffffffffffffffffffffffffffff
-  abort: working directory revision cannot be specified (missing-correct-output !)
-  abort: invalid revision identifier: ffffffffffffffffffffffffffffffffffffffff (known-bad-output !)
-  [255]
-#endif
 
 Test cache warming command