##// END OF EJS Templates
Update on pull -u when heads were closed (fixes issue666)....
Update on pull -u when heads were closed (fixes issue666). Patch written by Benoit Boissinot. This should probably be improved in the future to handle long-living branches, as joining two "other" heads will switch to that new head. But this is not a new problem, as adding to the "other" head would have switched to that new head, too.

File last commit:

r4835:9858477e default
r5080:73fdc8bd default
Show More
test-serve
18 lines | 380 B | text/plain | TextLexer
Joel Rosdahl
Add test reproducing a bug in "hg serve -v"
r4504 #!/bin/sh
hg init test
cd test
Alexis S. L. Carvalho
serve: respect settings from .hg/hgrc...
r4835 echo '[web]' > .hg/hgrc
echo 'accesslog = access.log' >> .hg/hgrc
Joel Rosdahl
Add test reproducing a bug in "hg serve -v"
r4504 echo % Without -v
hg serve -a localhost -p 20063 -d --pid-file=hg.pid
Alexis S. L. Carvalho
test-serve: let run-tests.py kill the daemons...
r4506 cat hg.pid >> "$DAEMON_PIDS"
Alexis S. L. Carvalho
serve: respect settings from .hg/hgrc...
r4835 if [ -f access.log ]; then
echo 'access log created - .hg/hgrc respected'
fi
Joel Rosdahl
Add test reproducing a bug in "hg serve -v"
r4504
echo % With -v
Alexis S. L. Carvalho
test-serve: let run-tests.py kill the daemons...
r4506 hg serve -a localhost -p 20064 -d --pid-file=hg.pid -v
cat hg.pid >> "$DAEMON_PIDS"