diff tests/test-narrow-trackedcmd.t @ 46117:6cc269bd1c29

errors: raise more specifc errors from narrowcommands Differential Revision: https://phab.mercurial-scm.org/D9386
author Martin von Zweigbergk <martinvonz@google.com>
date Wed, 18 Nov 2020 23:37:09 -0800
parents 5c2a4f37eace
children 9c9e0b4b2ca7
line wrap: on
line diff
--- a/tests/test-narrow-trackedcmd.t	Wed Dec 09 19:40:30 2020 -0800
+++ b/tests/test-narrow-trackedcmd.t	Wed Nov 18 23:37:09 2020 -0800
@@ -121,7 +121,7 @@
   [255]
   $ hg tracked --import-rules doesnotexist
   abort: cannot read narrowspecs from '$TESTTMP/narrow/doesnotexist': $ENOENT$
-  [255]
+  [50]
 
   $ cat > specs <<EOF
   > %include foo
@@ -133,7 +133,7 @@
 
   $ hg tracked --import-rules specs
   abort: including other spec files using '%include' is not supported in narrowspec
-  [255]
+  [10]
 
   $ cat > specs <<EOF
   > [include]
@@ -198,7 +198,7 @@
 
   $ hg tracked --import-rules specs --clear
   abort: the --clear option is not yet supported
-  [255]
+  [10]
 
 Testing with passing a out of wdir file
 
@@ -224,4 +224,4 @@
   $ cd non-narrow
   $ hg tracked --addinclude foobar
   abort: the tracked command is only supported on repositories cloned with --narrow
-  [255]
+  [10]