##// END OF EJS Templates
Add a multi-repository server...
Add a multi-repository server This merges a bunch of the ideas for a multi-repository CGI script and simplifies things a bit. It uses PATH_INFO so it generally wants paths of the form: http://host/hg.cgi/virtualpath This gets mapped via a simple config file to the real path. All info about the repo is read from the repo's hgrc.

File last commit:

r814:0902ffec merge default
r941:4cf418c2 default
Show More
test-unrelated-pull
19 lines | 190 B | text/plain | TextLexer
#!/bin/sh
mkdir a
cd a
hg init
echo 123 > a
hg add a
hg commit -m "a" -u a -d "0 0"
cd ..
mkdir b
cd b
hg init
echo 321 > b
hg add b
hg commit -m "b" -u b -d "0 0"
hg pull ../a
hg heads