tests/test-subrepo.t
changeset 39369 34ba47117164
parent 38425 1322ae04d3d7
child 40655 69d4c8c5c25e
--- a/tests/test-subrepo.t	Sun Aug 05 16:27:09 2018 +0900
+++ b/tests/test-subrepo.t	Sun Aug 05 16:44:16 2018 +0900
@@ -1066,19 +1066,18 @@
   $ hg cat sub/repo/foo -Tjson | sed 's|\\\\|/|g'
   [
    {
-    "abspath": "foo",
     "data": "test\ntest\n",
-    "path": "sub/repo/foo"
+    "path": "foo"
    }
   ]
 
  non-exact match:
 
-  $ hg cat -T '{path}\n' 'glob:**'
+  $ hg cat -T '{path|relpath}\n' 'glob:**'
   .hgsub
   .hgsubstate
   sub/repo/foo
-  $ hg cat -T '{path}\n' 're:^sub'
+  $ hg cat -T '{path|relpath}\n' 're:^sub'
   sub/repo/foo
 
  missing subrepos in working directory: