##// 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:

r12028:21984c1c stable
r12066:d01e2865 default
Show More
test-dispatch
29 lines | 301 B | text/plain | TextLexer
Brendan Cully
dispatch: restore a dropped shlex import...
r4563 #!/bin/sh
# test command parsing and dispatch
Mads Kiilerich
tests: Skip tests if they will fail because of outer repo...
r7429 "$TESTDIR/hghave" no-outer-repo || exit 80
Mads Kiilerich
dispatch: give better error message when cwd doesn't exist (issue2293)...
r11675 dir=`pwd`
Brendan Cully
dispatch: restore a dropped shlex import...
r4563 hg init a
cd a
echo a > a
Martin Geisler
tests: removed redundant "-d '0 0'" from test scripts...
r8167 hg ci -Ama
Brendan Cully
dispatch: restore a dropped shlex import...
r4563
Matt Mackall
dispatch: fix handling of incorrect number of arguments
r4621 echo "# missing arg"
hg cat
Brendan Cully
dispatch: restore a dropped shlex import...
r4563 echo '% [defaults]'
hg cat a
Alexis S. L. Carvalho
tests/*: avoid losing the original settings from $HGRCPATH
r5523 cat >> $HGRCPATH <<EOF
Brendan Cully
dispatch: restore a dropped shlex import...
r4563 [defaults]
Cédric Duval
tests: test for dispatch on [defaults]: more clearly differing output...
r8637 cat = -r null
Brendan Cully
dispatch: restore a dropped shlex import...
r4563 EOF
hg cat a
Matt Mackall
dispatch: fix handling of incorrect number of arguments
r4621
Brendan Cully
Fix dispatch error message when not in a repo
r4654 echo '% no repo'
Mads Kiilerich
dispatch: give better error message when cwd doesn't exist (issue2293)...
r11675 cd $dir
Brendan Cully
Fix dispatch error message when not in a repo
r4654 hg cat
exit 0
Thomas Arendsen Hein
Kill trailing spaces
r4659