Mercurial > hg > evolve
changeset 1281:cc3e68120185 stable
evolve: remove the dependency to the rebase extension
We do not use any rebase internal anymore.
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Sat, 13 Dec 2014 18:19:12 -0800 |
parents | bc601c010185 |
children | 0b66826f081c |
files | README hgext/evolve.py tests/_exc-util.sh tests/test-amend.t tests/test-corrupt.t tests/test-drop.t tests/test-evolve-bumped.t tests/test-evolve.t tests/test-import.t tests/test-obsolete-push.t tests/test-prev-next.t tests/test-prune.t tests/test-simple4server-bundle2.t tests/test-simple4server.t tests/test-stabilize-conflict.t tests/test-stabilize-order.t tests/test-uncommit.t tests/test-wireproto.t |
diffstat | 18 files changed, 4 insertions(+), 24 deletions(-) [+] |
line wrap: on
line diff
--- a/README +++ b/README @@ -51,6 +51,10 @@ Changelog ========= +5.0.2 -- + +- evolve: remove dependency to the rebase extension + 5.0.1 -- 2014-11-25 - amend: fix --logfile argument
--- a/hgext/evolve.py +++ b/hgext/evolve.py @@ -768,8 +768,6 @@ "manually with nothing to rebase - working " "directory parent is also destination")) - rebase = extensions.find('rebase') - # dummy state to trick rebase node if not orig.p2().rev() == node.nullrev: raise util.Abort( 'no support for evolving merge changesets yet', @@ -2253,11 +2251,6 @@ @eh.extsetup def oldevolveextsetup(ui): - try: - rebase = extensions.find('rebase') - except KeyError: - raise error.Abort(_('evolution extension requires rebase extension.')) - for cmd in ['kill', 'uncommit', 'touch', 'fold']: entry = extensions.wrapcommand(cmdtable, cmd, warnobserrors)
--- a/tests/_exc-util.sh +++ b/tests/_exc-util.sh @@ -20,7 +20,6 @@ [extensions] hgext.strip= -hgext.rebase= EOF echo "evolve=$(echo $(dirname $TESTDIR))/hgext/evolve.py" >> $HGRCPATH
--- a/tests/test-amend.t +++ b/tests/test-amend.t @@ -1,6 +1,5 @@ $ cat >> $HGRCPATH <<EOF > [extensions] - > hgext.rebase= > hgext.graphlog= > EOF $ echo "evolve=$(echo $(dirname $TESTDIR))/hgext/evolve.py" >> $HGRCPATH
--- a/tests/test-corrupt.t +++ b/tests/test-corrupt.t @@ -13,7 +13,6 @@ > git = 1 > unified = 0 > [extensions] - > hgext.rebase= > hgext.graphlog= > EOF $ echo "evolve=$(echo $(dirname $TESTDIR))/hgext/evolve.py" >> $HGRCPATH
--- a/tests/test-drop.t +++ b/tests/test-drop.t @@ -1,7 +1,6 @@ $ cat >> $HGRCPATH <<EOF > [extensions] - > hgext.rebase= > hgext.graphlog= > EOF $ echo "drophack=$(echo $(dirname $TESTDIR))/hgext/drophack.py" >> $HGRCPATH
--- a/tests/test-evolve-bumped.t +++ b/tests/test-evolve-bumped.t @@ -10,7 +10,6 @@ $ cd private $ cat >> .hg/hgrc <<EOF > [extensions] - > rebase = > evolve = $evolvepath > [phases] > publish = false
--- a/tests/test-evolve.t +++ b/tests/test-evolve.t @@ -13,7 +13,6 @@ > git = 1 > unified = 0 > [extensions] - > hgext.rebase= > hgext.graphlog= > EOF $ echo "evolve=$(echo $(dirname $TESTDIR))/hgext/evolve.py" >> $HGRCPATH
--- a/tests/test-import.t +++ b/tests/test-import.t @@ -9,7 +9,6 @@ $ hg init auto-obsolete $ cd auto-obsolete $ echo '[extensions]' >> $HGRCPATH - $ echo 'rebase=' >> $HGRCPATH $ echo "evolve=$(echo $(dirname $TESTDIR))/hgext/evolve.py" >> $HGRCPATH $ echo A > a $ hg commit -Am A
--- a/tests/test-obsolete-push.t +++ b/tests/test-obsolete-push.t @@ -2,7 +2,6 @@ > [defaults] > amend=-d "0 0" > [extensions] - > hgext.rebase= > hgext.graphlog= > EOF $ echo "evolve=$(echo $(dirname $TESTDIR))/hgext/evolve.py" >> $HGRCPATH
--- a/tests/test-prev-next.t +++ b/tests/test-prev-next.t @@ -1,6 +1,5 @@ $ cat >> $HGRCPATH <<EOF > [extensions] - > hgext.rebase= > hgext.graphlog= > EOF $ echo "evolve=$(echo $(dirname $TESTDIR))/hgext/evolve.py" >> $HGRCPATH
--- a/tests/test-prune.t +++ b/tests/test-prune.t @@ -2,7 +2,6 @@ > [ui] > logtemplate={rev}:{node|short}[{bookmarks}] ({obsolete}/{phase}) {desc|firstline}\n > [extensions] - > hgext.rebase= > EOF $ echo "evolve=$(echo $(dirname $TESTDIR))/hgext/evolve.py" >> $HGRCPATH
--- a/tests/test-simple4server-bundle2.t +++ b/tests/test-simple4server-bundle2.t @@ -7,8 +7,6 @@ > allow_push = * > [phases] > publish = False - > [extensions] - > hgext.rebase= > [experimental] > bundle2-exp=True > EOF
--- a/tests/test-simple4server.t +++ b/tests/test-simple4server.t @@ -8,7 +8,6 @@ > [phases] > publish = False > [extensions] - > hgext.rebase= > EOF $ mkcommit() {
--- a/tests/test-stabilize-conflict.t +++ b/tests/test-stabilize-conflict.t @@ -16,7 +16,6 @@ > touch.gui=true > touch.args=babar > [extensions] - > hgext.rebase= > EOF $ echo "evolve=$(echo $(dirname $TESTDIR))/hgext/evolve.py" >> $HGRCPATH
--- a/tests/test-stabilize-order.t +++ b/tests/test-stabilize-order.t @@ -2,7 +2,6 @@ > [defaults] > amend=-d "0 0" > [extensions] - > hgext.rebase= > hgext.graphlog= > EOF $ echo "evolve=$(echo $(dirname $TESTDIR))/hgext/evolve.py" >> $HGRCPATH