Mercurial > hg
view tests/test-issue352 @ 5331:8ee5b8129e7b
hgweb: don't raise an exception when displying empty repos
The nullid node claims it's in the default branch, but the branch dict
is empty. This fixes the main symptom from issue696, but we may want
to set branchtags()['default'] = nullid somewhere for empty repos.
author | Alexis S. L. Carvalho <alexis@cecm.usp.br> |
---|---|
date | Mon, 24 Sep 2007 19:00:11 -0300 |
parents | 2184378b20b5 |
children | 1de6e7e1bb9f |
line wrap: on
line source
#!/bin/sh # http://www.selenic.com/mercurial/bts/issue352 "$TESTDIR/hghave" eol-in-paths || exit 80 hg init foo cd foo A=`printf 'he\rllo'` echo foo > "$A" hg add hg ci -A -m m rm "$A" echo foo > "hell o" hg add hg ci -A -m m echo foo > "$A" hg debugwalk exit 0