##// END OF EJS Templates
hgwebdir: ignore hgrc parse errors while building the index page...
hgwebdir: ignore hgrc parse errors while building the index page An error in the .hg/hgrc file from a repository would prevent the following repos from being shown in the index page. The IOError handling was unnecessary - it's already handled in readconfig. This should fix issue731. The error in the .hg/hgrc file will still prevent the repo from being exported with hgweb.

File last commit:

r5065:b304c249 default
r5332:b0bfe087 default
Show More
test-rebuildstate
24 lines | 333 B | text/plain | TextLexer
#!/bin/sh
# basic test for hg debugrebuildstate
hg init repo
cd repo
touch foo bar
hg ci -Am 'add foo bar'
touch baz
hg add baz
hg rm bar
echo '% state dump'
hg debugstate | cut -b 1-16,35- | sort
echo '% status'
hg st -A
hg debugrebuildstate
echo '% state dump'
hg debugstate | cut -b 1-16,35- | sort
echo '% status'
hg st -A