##// END OF EJS Templates
Add a features list to branches.cache to detect caches of old hg versions....
Add a features list to branches.cache to detect caches of old hg versions. The leading space in the written file makes sure that the feature list never can match an existing version, even if the first feature can be read as hex. Additionally old hg versions display the id with --debug, too.

File last commit:

r2982:890e285c default
r4168:bbfe5a3f default
Show More
test-nested-repo
19 lines | 251 B | text/plain | TextLexer
Vadim Gelfer
support nested repositories....
r2061 #!/bin/sh
hg init a
cd a
hg init b
echo x > b/x
echo '# should print nothing'
hg st
echo '# should print ? b/x'
hg st b/x
hg add b/x
echo '# should print A b/x'
hg st
echo '# should forget b/x'
Vadim Gelfer
revert: require --all to revert all files.
r2982 hg revert --all
Vadim Gelfer
support nested repositories....
r2061 echo '# should print nothing'
hg st b