Mercurial > hg-stable
comparison tests/test-init.t @ 48503:5e6542143d40
test: use `hg debugrequires` instead of `cat` in some tests
This give the "same" result, while taking in account that the requirement file
might be in different location, like what `share-safe` is doing.
Differential Revision: https://phab.mercurial-scm.org/D11895
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Wed, 08 Dec 2021 05:35:32 +0100 |
parents | f35529784079 |
children | 7ee07e1a25c0 |
comparison
equal
deleted
inserted
replaced
48502:880adb2cd147 | 48503:5e6542143d40 |
---|---|
7 > echo store created | 7 > echo store created |
8 > fi | 8 > fi |
9 > if [ -f "$name"/.hg/00changelog.i ]; then | 9 > if [ -f "$name"/.hg/00changelog.i ]; then |
10 > echo 00changelog.i created | 10 > echo 00changelog.i created |
11 > fi | 11 > fi |
12 > cat "$name"/.hg/requires | 12 > hg debugrequires -R "$name" |
13 > } | 13 > } |
14 | 14 |
15 creating 'local' | 15 creating 'local' |
16 | 16 |
17 $ hg init local | 17 $ hg init local |