Mercurial > evolve
view tests/test-options.t @ 5882:1d8148795dc2 stable
next: drop safety net around getting --no-topic flag value
It has a default value and every other piece of code that accesses opts doesn't
bother with .get().
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Wed, 21 Apr 2021 20:05:56 +0800 |
parents | bf8638b5c526 |
children | f60f1ded1a20 |
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 hg: unknown command 'prune' (use 'hg help' for a list of commands) [10]