Mercurial > evolve
annotate tests/test-options.t @ 6190:5c1df14ed456 mercurial-4.7
branching: closing test-compat branch for mercurial-4.7
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Wed, 23 Feb 2022 17:33:32 +0300 |
parents | 82da27321e91 |
children |
rev | line source |
---|---|
1226 | 1 $ cat >> $HGRCPATH <<EOF |
2 > [ui] | |
3 > logtemplate={rev}:{node|short}[{bookmarks}] ({obsolete}/{phase}) {desc|firstline}\n | |
4 > [extensions] | |
5 > EOF | |
1806
9f42f819267b
evolve: move the extensions to 'hgext3rd'
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
1226
diff
changeset
|
6 $ echo "evolve=$(echo $(dirname $TESTDIR))/hgext3rd/evolve/" >> $HGRCPATH |
1226 | 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 | |
4354
cb39b767ad3c
test-compat: reverse test change from 9bce7e6c18b3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
4185
diff
changeset
|
27 $ hg prune | head -n 2 |
1226 | 28 hg: unknown command 'prune' |
4202
f555039d1a08
branching: revert test outptu change for 4.7
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
4181
diff
changeset
|
29 Mercurial Distributed SCM |
f555039d1a08
branching: revert test outptu change for 4.7
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
4181
diff
changeset
|
30 |