##// END OF EJS Templates
revlog.py: fix/tweak read ahead code in lazyparser
revlog.py: fix/tweak read ahead code in lazyparser

File last commit:

r4232:0d51eb29 merge default
r4314:43dedce9 default
Show More
test-newbranch
52 lines | 852 B | text/plain | TextLexer
Matt Mackall
Add some basic branch name tests
r3420 #!/bin/sh
hg init t
cd t
Matt Mackall
add branch and branches commands
r3502 hg branches
Matt Mackall
Add some basic branch name tests
r3420
echo foo > a
hg add a
Alexis S. L. Carvalho
small fixes for test-newbranch...
r3760 hg ci -m "initial" -d "1000000 0"
Matt Mackall
add branch and branches commands
r3502 hg branch foo
hg branch
Alexis S. L. Carvalho
small fixes for test-newbranch...
r3760 hg ci -m "add branch name" -d "1000000 0"
Matt Mackall
add branch and branches commands
r3502 hg branch bar
Alexis S. L. Carvalho
small fixes for test-newbranch...
r3760 hg ci -m "change branch name" -d "1000000 0"
Matt Mackall
Move branch read/write to dirstate where it belongs
r4179 hg branch default
Alexis S. L. Carvalho
small fixes for test-newbranch...
r3760 hg ci -m "clear branch name" -d "1000000 0"
Matt Mackall
Add some basic branch name tests
r3420
hg co foo
Matt Mackall
add branch and branches commands
r3502 hg branch
Matt Mackall
Add some basic branch name tests
r3420 echo bleah > a
Alexis S. L. Carvalho
small fixes for test-newbranch...
r3760 hg ci -m "modify a branch" -d "1000000 0"
Matt Mackall
Add some basic branch name tests
r3420
hg merge
Matt Mackall
add branch and branches commands
r3502 hg branch
Alexis S. L. Carvalho
small fixes for test-newbranch...
r3760 hg ci -m "merge" -d "1000000 0"
Matt Mackall
Add some basic branch name tests
r3420 hg log
Matt Mackall
add branch and branches commands
r3502 hg branches
hg branches -q
Thomas Arendsen Hein
Add test for invalid branch cache (fixed by 27ebe4efe98e)
r3451 echo % test for invalid branch cache
hg rollback
Matt Mackall
Move branches.cache to branch.cache...
r4177 cp .hg/branch.cache .hg/bc-invalid
Alexis S. L. Carvalho
small fixes for test-newbranch...
r3760 hg log -r foo
Matt Mackall
Move branches.cache to branch.cache...
r4177 cp .hg/bc-invalid .hg/branch.cache
Alexis S. L. Carvalho
Ignore all errors while parsing the branch cache.
r3761 hg --debug log -r foo
Matt Mackall
Move branches.cache to branch.cache...
r4177 rm .hg/branch.cache
echo corrupted > .hg/branch.cache
Alexis S. L. Carvalho
Ignore all errors while parsing the branch cache.
r3761 hg log -qr foo
Matt Mackall
Move branches.cache to branch.cache...
r4177 cat .hg/branch.cache
Brendan Cully
Test update to branch tip
r4175
echo % update with no arguments: tipmost revision of the current branch
hg up -q -C 0
hg up -q
hg id
hg up -q 1
hg up -q
hg id
Alexis S. L. Carvalho
avoid a traceback with hg branch newbranch; hg up
r4231 hg branch foobar
hg up
exit 0