Commit 492a6b19 authored by Anton Shestakov's avatar Anton Shestakov
Browse files

tests: use mkcommit() from common.sh in test-fold.t

Notice the -q flag to hg ci.
parent d919851981d4
......@@ -11,11 +11,6 @@ setup
> [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 @@ One merge commit
$ hg up null
0 files updated, 0 files merged, 1 files removed, 0 files unresolved
$ mkcommit apple
created new head
$ mkcommit banana
$ hg merge
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment