Mercurial > evolve
view tests/test-options.t @ 4230:e796835fe6b3 stable
evolvecmd: _possibledestination() skip visiting empty parent
I see that even in the case when "parent == -1" we are visiting
that also and find succsets for that and in last -1 is being
added in the set of possible destination. Why not skip that?
author | Sushil khanchi <sushilkhanchi97@gmail.com> |
---|---|
date | Tue, 06 Nov 2018 10:43:35 +0530 |
parents | 4803bfe8db17 |
children | 9bce7e6c18b3 f555039d1a08 |
line wrap: on
line source
$ cat >> $HGRCPATH <<EOF > [ui] > logtemplate={rev}:{node|short}[{bookmarks}] ({obsolete}/{phase}) {desc|firstline}\n > [extensions] > EOF $ echo "evolve=$(echo $(dirname $TESTDIR))/hgext3rd/evolve/" >> $HGRCPATH $ mkcommit() { > echo "$1" > "$1" > hg add "$1" > hg ci -m "add $1" > } $ hg init repo $ cd repo $ mkcommit a $ mkcommit b test disabling commands $ cat >> .hg/hgrc <<EOF > [experimental] > evolution=createmarkers > allowunstable > exchange > EOF $ hg prune | head -n 2 hg: unknown command 'prune' (use 'hg help' for a list of commands)