##// END OF EJS Templates
make mercurial look in more places for config files....
make mercurial look in more places for config files. now it searches <install dir>/etc/mercurial, /etc/mercurial, and user hgrc. this allows site-wide configuration to be shared over automounted nfs partition, instead of chenging on every system. option of having local configuration on every system remains. old code for searching /etc/mercurial/hgrc.d never worked, this code is tested and works.

File last commit:

r814:0902ffec merge default
r1583:32a4e680 default
Show More
test-empty-dir
16 lines | 191 B | text/plain | TextLexer
mpm@selenic.com
Remove empty directories on update...
r578 #!/bin/sh
hg init
echo 123 > a
hg add a
mpm@selenic.com
Update tests to use commit -m and default -u...
r749 hg commit -m "first" -d "0 0" a
mpm@selenic.com
Remove empty directories on update...
r578 mkdir sub
echo 321 > sub/b
hg add sub/b
mpm@selenic.com
Update tests to use commit -m and default -u...
r749 hg commit -m "second" -d "0 0" sub/b
mpm@selenic.com
Remove empty directories on update...
r578 cat sub/b
hg co 0
cat sub/b
ls sub
true