tests/test-narrow-trackedcmd.t
changeset 41723 ebbc4e70ebd1
parent 41043 ce0bc2952e2a
child 42415 c767e655ffda
--- a/tests/test-narrow-trackedcmd.t	Fri Feb 15 14:43:31 2019 -0500
+++ b/tests/test-narrow-trackedcmd.t	Mon Feb 11 19:41:37 2019 +0300
@@ -218,3 +218,13 @@
   adding file changes
   added 3 changesets with 0 changes to 0 files
   new changesets *:* (glob)
+
+  $ cd ..
+
+Testing tracked command on a non-narrow repo
+
+  $ hg init non-narrow
+  $ cd non-narrow
+  $ hg tracked --addinclude foobar
+  abort: the tracked command is only supported on respositories cloned with --narrow
+  [255]