diff tests/test-annotate.t @ 37280:435481393198

tests: don't use revlog paths in tests Debug commands operating on revlogs don't need the full revlog path: they can accept the relative path to a tracked file or use -c/-m to specify a changelog or manifest. Not using the revlog path makes tests more resilient to cases where revlogs aren't being used for storage. Differential Revision: https://phab.mercurial-scm.org/D3025
author Gregory Szorc <gregory.szorc@gmail.com>
date Mon, 02 Apr 2018 15:55:50 -0700
parents a8a902d7176e
children 8bb3899a0f47
line wrap: on
line diff
--- a/tests/test-annotate.t	Sat Mar 17 21:03:16 2018 +0900
+++ b/tests/test-annotate.t	Mon Apr 02 15:55:50 2018 -0700
@@ -456,7 +456,7 @@
   > EOF
   $ hg debugsetparents 17 17
   $ hg --config extensions.legacyrepo=../legacyrepo.py  commit -m "baz:2"
-  $ hg debugindexdot .hg/store/data/baz.i
+  $ hg debugindexdot baz
   digraph G {
   	-1 -> 0
   	0 -> 1
@@ -488,7 +488,7 @@
   > EOF
   $ hg debugsetparents 19 18
   $ hg --config extensions.legacyrepo=../legacyrepo.py  commit -m "baz:4"
-  $ hg debugindexdot .hg/store/data/baz.i
+  $ hg debugindexdot baz
   digraph G {
   	-1 -> 0
   	0 -> 1