changeset 4895:92d617c7be66 stable

tests: clean up test-metaedit.t Mostly just artifacts from the times when it was one big test-evolve.t. All completely unused nowadays.
author Anton Shestakov <av6@dwimlabs.net>
date Wed, 09 Oct 2019 20:07:42 +0700
parents a9929dd36405
children 14698b28aa57
files tests/test-metaedit.t
diffstat 1 files changed, 1 insertions(+), 28 deletions(-) [+]
line wrap: on
line diff
--- 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 <<EOF
-  > [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