diff tests/test-lfs-test-server.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 67db84842356
children f4e84dfc06fd
line wrap: on
line diff
--- a/tests/test-lfs-test-server.t	Sat Mar 17 21:03:16 2018 +0900
+++ b/tests/test-lfs-test-server.t	Mon Apr 02 15:55:50 2018 -0700
@@ -823,7 +823,7 @@
   $ hg commit -m 'test'
   $ echo aaaaa > a
   $ hg commit -m 'largefile'
-  $ hg debugdata .hg/store/data/a.i 1 # verify this is no the file content but includes "oid", the LFS "pointer".
+  $ hg debugdata a 1 # verify this is no the file content but includes "oid", the LFS "pointer".
   version https://git-lfs.github.com/spec/v1
   oid sha256:bdc26931acfb734b142a8d675f205becf27560dc461f501822de13274fe6fc8a
   size 6