Mercurial > hg
diff tests/test-contrib-dumprevlog.t @ 39707:5abc47d4ca6b
tests: quote PYTHON usage
Python3 defaults to installing under "Program Files".
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Tue, 18 Sep 2018 23:47:21 -0400 |
parents | f1186c292d03 |
children | 2f2682f40ea0 |
line wrap: on
line diff
--- a/tests/test-contrib-dumprevlog.t Tue Sep 18 22:40:03 2018 -0400 +++ b/tests/test-contrib-dumprevlog.t Tue Sep 18 23:47:21 2018 -0400 @@ -22,7 +22,7 @@ checked 3 changesets with 3 changes to 1 files Dumping revlog of file a to stdout: - $ $PYTHON "$CONTRIBDIR/dumprevlog" .hg/store/data/a.i + $ "$PYTHON" "$CONTRIBDIR/dumprevlog" .hg/store/data/a.i file: .hg/store/data/a.i node: 183d2312b35066fb6b3b449b84efc370d50993d0 linkrev: 0 @@ -54,14 +54,14 @@ Dump all revlogs to file repo.dump: - $ find .hg/store -name "*.i" | sort | xargs $PYTHON "$CONTRIBDIR/dumprevlog" > ../repo.dump + $ find .hg/store -name "*.i" | sort | xargs "$PYTHON" "$CONTRIBDIR/dumprevlog" > ../repo.dump $ cd .. Undumping into repo-b: $ hg init repo-b $ cd repo-b - $ $PYTHON "$CONTRIBDIR/undumprevlog" < ../repo.dump + $ "$PYTHON" "$CONTRIBDIR/undumprevlog" < ../repo.dump .hg/store/00changelog.i .hg/store/00manifest.i .hg/store/data/a.i