'hg serv' case insensitive?

Satish Balay balay at fastmail.fm
Fri Jun 2 10:58:00 CDT 2006


I've attempted to export a hg repository using 'hg serv --webdir-conf'
option.

The repository is named FooBar - but 'hg serv' is exporting it as
'foobar' [ignoring the caps]. I was expecting 'FooBar' to work.

thanks,
Satish

--------
Reproduceable with:

mkdir FooBar
cd FooBar/
hg init
echo "foo" > bar
cd ..
echo "[paths]" > webdir.conf
echo "FooBar=FooBar" >> webdir.conf
hg serv --webdir-conf webdir.conf &
hg clone http://localhost:8000/FooBar local        # gives error
hg clone http://localhost:8000/foobar local        # works


More information about the Mercurial mailing list