Blame view
tests/branch-bundle.t
643 Bytes
|
e67f8fe66
|
1 2 3 4 5 |
Branch b1.
$ pg branch b1
$ pg checkout b1
Switched to branch 'b1'
|
|
293eecb90
|
6 |
$ cat > $PLUGIN_DIR/aliases.zsh <<EOF |
|
e67f8fe66
|
7 8 9 10 11 12 13 14 15 16 17 18 |
> alias hehe='echo hehe from b1'
> EOF
$ pg commit -am 'Change for b1'
\[b1 [a-f0-9]{7}\] Change for b1 (re)
1 file changed, 1 insertion(+), 1 deletion(-)
Go back to master.
$ pg checkout master
Switched to branch 'master'
Load plugin from b1.
|
|
98dc8bb90
|
19 |
$ antigen-bundle $PLUGIN_DIR --branch=b1 &> /dev/null |
|
e67f8fe66
|
20 21 |
$ hehe
hehe from b1
|
|
ccc3d1443
|
22 23 24 |
Does not say 'Already on b1' on each session startup.
$ antigen-bundle $PLUGIN_DIR --branch=b1
|
|
e67f8fe66
|
25 |
Load plugin from master. |
|
98dc8bb90
|
26 |
$ antigen-bundle $PLUGIN_DIR &> /dev/null |
|
e67f8fe66
|
27 28 |
$ hehe
hehe
|