Mercurial > evolve
diff tests/test-fold.t @ 5961:dad6bd8180d3
tests: use mkcommit() from common.sh in test-fold.t
Notice the -q flag to hg ci.
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Thu, 17 Jun 2021 10:57:53 +0300 |
parents | a1dad44fe3da |
children | 65d4e47d7f26 |
line wrap: on
line diff
--- a/tests/test-fold.t Thu Jun 17 10:55:51 2021 +0300 +++ b/tests/test-fold.t Thu Jun 17 10:57:53 2021 +0300 @@ -11,11 +11,6 @@ > [ui] > logtemplate = '{rev} - {node|short} {desc|firstline} [{author}] ({phase}) {bookmarks}\n' > EOF - $ mkcommit() { - > echo "$1" > "$1" - > hg add "$1" - > hg ci -qm "$1" - > } $ hg init fold-tests $ cd fold-tests/ @@ -319,6 +314,7 @@ $ hg up null 0 files updated, 0 files merged, 1 files removed, 0 files unresolved $ mkcommit apple + created new head $ mkcommit banana $ hg merge