comparison tests/test-options.t @ 2020:143c8e4dc22d

topic: merge the topic extension in the evolve repository There is a lot of synergy between the two concepts. Topic is expected to be able to smooth multiple of evolution sharp edge. Having them both in the same repository will make this collaboration easier.
author Pierre-Yves David <pierre-yves.david@ens-lyon.org>
date Thu, 02 Mar 2017 18:07:46 +0100
parents 9f42f819267b
children 8fcee1e65e29
comparison
equal deleted inserted replaced
2019:996a562b6c9f 2020:143c8e4dc22d
1 $ cat >> $HGRCPATH <<EOF
2 > [ui]
3 > logtemplate={rev}:{node|short}[{bookmarks}] ({obsolete}/{phase}) {desc|firstline}\n
4 > [extensions]
5 > EOF
6 $ echo "evolve=$(echo $(dirname $TESTDIR))/hgext3rd/evolve/" >> $HGRCPATH
7
8 $ mkcommit() {
9 > echo "$1" > "$1"
10 > hg add "$1"
11 > hg ci -m "add $1"
12 > }
13
14 $ hg init repo
15 $ cd repo
16 $ mkcommit a
17 $ mkcommit b
18
19 test disabling commands
20
21 $ cat >> .hg/hgrc <<EOF
22 > [experimental]
23 > evolution=createmarkers
24 > allowunstable
25 > exchange
26 > EOF
27 $ hg prune | head -n 2
28 hg: unknown command 'prune'
29 Mercurial Distributed SCM
30