Mercurial > hgrepos > DevTools > mercurial-extensions
diff tests/lib-test-kwarchive.sh @ 297:4e86a3bce096
FIX: Tests: subrepo setup had trailing whitespace ad HEREDOC-end:
this made the complete kgwarchive subrepo configuration invalid.
All ids have changed.
| author | Franz Glasner <hg@dom66.de> |
|---|---|
| date | Tue, 29 Jan 2019 19:17:29 +0100 |
| parents | 0080dab59fac |
| children | 103df4b7a0c8 |
line wrap: on
line diff
--- a/tests/lib-test-kwarchive.sh Tue Jan 29 18:07:43 2019 +0100 +++ b/tests/lib-test-kwarchive.sh Tue Jan 29 19:17:29 2019 +0100 @@ -135,9 +135,9 @@ EOF cp src/f2.py src/f2.txt hg add VERSION README test2.txt test2-not-expanded.txt - hg ci -m 'First part of files: VERSION, README, test2.txt' + hg commit -m 'First part of files: VERSION, README, test2.txt' hg add --quiet src/ - hg ci -m 'All files in src' + hg commit -m 'All files in src' cd .. } @@ -177,7 +177,7 @@ MyFullRevision = HGrevision MySubstKeyword = replace:: This is a custom replacement -EOF +EOF cat >f1.txt <<EOF f1.txt: Some file content EOF @@ -239,15 +239,15 @@ EOF cp src/f2.py src/f2.txt - hg add VERSION README test2.txt test2-not-expanded.txt + hg add VERSION README f1.txt test2.txt test2-not-expanded.txt hg commit -m '2: First part of files: VERSION, README, test2.txt' hg add --quiet src/ - hg ci -m '3: All files in src' + hg commit -m '3: All files in src' # should have no output - hg st + hg status if [ ! -z "$2" ]; then cd .. - fi + fi cd .. # and really add/activate the subrepo in the parent if [ ! -z "$2" ]; then
