2005-07-01 10:22:27 +04:00
|
|
|
#!/bin/sh
|
2005-06-15 05:30:56 +04:00
|
|
|
|
|
|
|
mkdir test
|
|
|
|
cd test
|
|
|
|
echo foo>foo
|
|
|
|
hg init
|
|
|
|
hg addremove
|
2005-07-22 00:05:17 +04:00
|
|
|
hg commit -m 1
|
2005-06-15 05:30:56 +04:00
|
|
|
hg verify
|
2007-10-05 23:17:01 +04:00
|
|
|
hg serve -p $HGPORT -d --pid-file=hg.pid
|
2006-07-06 22:45:34 +04:00
|
|
|
cat hg.pid >> $DAEMON_PIDS
|
2005-06-15 05:30:56 +04:00
|
|
|
cd ..
|
|
|
|
|
2007-10-05 23:17:01 +04:00
|
|
|
http_proxy= hg clone --pull http://localhost:$HGPORT/ copy | sed -e 's,:[0-9][0-9]*/,/,'
|
2005-06-15 05:30:56 +04:00
|
|
|
cd copy
|
|
|
|
hg verify
|
|
|
|
hg co
|
|
|
|
cat foo
|
2006-12-01 07:38:48 +03:00
|
|
|
hg manifest --debug
|
2007-10-05 23:17:01 +04:00
|
|
|
hg pull | sed -e 's,:[0-9][0-9]*/,/,'
|
2007-07-17 05:01:20 +04:00
|
|
|
|
|
|
|
echo % issue 622
|
|
|
|
cd ..
|
|
|
|
hg init empty
|
|
|
|
cd empty
|
|
|
|
hg pull -u ../test
|