Mercurial > evolve
annotate tests/test-options.t @ 4628:c4097632a1a3
topic: drop support for accessing csets in branch stack using bxx (issue6119)
When topic extension is enabled and we have some cset whose hash is `b1234`,
topic extension thinks that we are accessing 1234 cset in current branch stack.
However that's not the case generally. Also I am not sure many people use this
bxxx thing.
Since we have a generic sxxx way to access csets, let's drop support for
accessing csets using bxx which leads to bad behavior.
Looking at the tests, we don't show bxxx in hg stack output anymore.
I update the test to use sxxx instead of bxxxx.
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Sat, 27 Apr 2019 01:18:08 +0300 |
parents | 9bce7e6c18b3 |
children | cb39b767ad3c bf8638b5c526 |
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 | |
4185
9bce7e6c18b3
tests: remove a"| head -n 2" that just hides an error code
Martin von Zweigbergk <martinvonz@google.com>
parents:
4181
diff
changeset
|
27 $ hg prune |
1226 | 28 hg: unknown command 'prune' |
4181
ab3581bc0637
branching: preserve the expected output on default
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
4168
diff
changeset
|
29 (use 'hg help' for a list of commands) |
4185
9bce7e6c18b3
tests: remove a"| head -n 2" that just hides an error code
Martin von Zweigbergk <martinvonz@google.com>
parents:
4181
diff
changeset
|
30 [255] |