##// END OF EJS Templates
localrepo: introduce method for explicit branch cache update...
localrepo: introduce method for explicit branch cache update Currently, localrepo.branchtags() is called in two locations to update the _branchcache dict, however branchtags() itself does not update anything, it calls branchmap() to do so. This change introduces a new updatebranchcache() method that is used by both branchmap() and the calls to update the cache.

File last commit:

r3736:ad3d5b43 default
r12066:d01e2865 default
Show More
test-simple-update
24 lines | 245 B | text/plain | TextLexer
/ tests / test-simple-update
Thomas Arendsen Hein
Remove bashisms and use /bin/sh instead of /bin/bash....
r544 #!/bin/sh
mpm@selenic.com
Add a simple testing framework...
r331
Thomas Arendsen Hein
Don't use 'set -x', fix exports, sed and hexdump usage for Solaris.
r800 set -e
mpm@selenic.com
Add a simple testing framework...
r331
mkdir test
cd test
echo foo>foo
hg init
hg addremove
mpm@selenic.com
Update tests to use commit -m and default -u...
r749 hg commit -m "1"
mpm@selenic.com
Add a simple testing framework...
r331 hg verify
mpm@selenic.com
[PATCH] add clone command...
r485 hg clone . ../branch
cd ../branch
mpm@selenic.com
Add a simple testing framework...
r331 hg co
echo bar>>foo
mpm@selenic.com
Update tests to use commit -m and default -u...
r749 hg commit -m "2"
mpm@selenic.com
Add a simple testing framework...
r331
cd ../test
hg pull ../branch
hg verify
hg co
cat foo
Matt Mackall
make manifest friendlier...
r3736 hg manifest --debug