# HG changeset patch # User Anton Shestakov # Date 1570626462 -25200 # Node ID 92d617c7be664bc404da32c6ec23d1a42fc97778 # Parent a9929dd36405993e35891e0af5e246e38c88b5e1 tests: clean up test-metaedit.t Mostly just artifacts from the times when it was one big test-evolve.t. All completely unused nowadays. diff -r a9929dd36405 -r 92d617c7be66 tests/test-metaedit.t --- a/tests/test-metaedit.t Mon Oct 07 14:38:56 2019 +0700 +++ b/tests/test-metaedit.t Wed Oct 09 20:07:42 2019 +0700 @@ -1,19 +1,6 @@ $ cat >> $HGRCPATH < [defaults] - > amend=-d "0 0" - > fold=-d "0 0" - > metaedit=-d "0 0" - > [web] - > push_ssl = false - > allow_push = * - > [phases] - > publish = False > [alias] - > qlog = log --template='{rev} - {node|short} {desc} ({phase})\n' > gluf = log -GT "{rev}: {desc|firstline} - {author|user} ({files})" - > [diff] - > git = 1 - > unified = 0 > [extensions] > EOF $ echo "evolve=$(echo $(dirname $TESTDIR))/hgext3rd/evolve/" >> $HGRCPATH @@ -23,24 +10,10 @@ > hg ci -m "$1" > } - $ mkstack() { - > # Creates a stack of commit based on $1 with messages from $2, $3 .. - > hg update $1 -C - > shift - > mkcommits $* - > } - $ glog() { > hg log -G --template '{rev}:{node|short}@{branch}({phase}) {desc|firstline}\n' "$@" > } - $ shaof() { - > hg log -T {node} -r "first(desc($1))" - > } - - $ mkcommits() { - > for i in $@; do mkcommit $i ; done - > } ########################## importing Parren test @@ -209,7 +182,7 @@ old commit (we add a default date with a value to show that metaedit is taking the current date to generate the hash, this way we still have a stable hash but highlight the bug) - $ hg metaedit --config defaults.metaedit= --config devel.default-date="42 0" + $ hg metaedit --config devel.default-date="42 0" 0 files updated, 0 files merged, 0 files removed, 0 files unresolved $ hg log -r '.^::.' --template '{rev}: {desc|firstline}\n' 3: C