##// END OF EJS Templates
Do not use osutil.c with python 2.4 and Windows (issue1364)...
Do not use osutil.c with python 2.4 and Windows (issue1364) Windows python 2.4 os.stat() reports times including DST offset, while osutil.c reports the correct value, which makes status() systematically compare files content. This bug is fixed in python 2.5. Using osutil.py instead of osutil.c is 4x times slower on large repositories but current code is completely unusable. Given few people are likely to use python 2.4 on Windows this solution was considered a good trade-off compared to more invasive solutions trying to address the offset issue.

File last commit:

r10470:2b57eed1 stable
r10521:bde1bb25 stable
Show More
test-pull
35 lines | 834 B | text/plain | TextLexer
Thomas Arendsen Hein
Remove bashisms and use /bin/sh instead of /bin/bash....
r544 #!/bin/sh
mpm@selenic.com
Add some more tests...
r336
mkdir test
cd test
echo foo>foo
hg init
hg addremove
mpm@selenic.com
Update tests to use commit -m and default -u...
r749 hg commit -m 1
mpm@selenic.com
Add some more tests...
r336 hg verify
Bryan O'Sullivan
Allow tests to run in parallel.
r5384 hg serve -p $HGPORT -d --pid-file=hg.pid
Vadim Gelfer
tests: add timeouts, make run-tests.py clean up dead daemon processes...
r2571 cat hg.pid >> $DAEMON_PIDS
mpm@selenic.com
Add some more tests...
r336 cd ..
Mads Kiilerich
tests: don't just silently strip port numbers
r10398 hg clone --pull http://localhost:$HGPORT/ copy | sed -e "s,:$HGPORT/,:\$HGPORT/,"
mpm@selenic.com
Add some more tests...
r336 cd copy
hg verify
hg co
cat foo
Matt Mackall
make manifest friendlier...
r3736 hg manifest --debug
Mads Kiilerich
tests: don't just silently strip port numbers
r10398 hg pull | sed -e "s,:$HGPORT/,:\$HGPORT/,"
Bryan O'Sullivan
issue 622: pull/unbundle -u updates to default branch if repo was empty
r4891
echo % issue 622
cd ..
hg init empty
cd empty
hg pull -u ../test
Sune Foldager
handle file URIs correctly, according to RFC 2396 (issue1153)...
r9996
echo % test file: uri handling
Patrick Mezard
Fix test-pull under Windows
r10470 hg pull -q file://../test-doesnt-exist 2>&1 \
| sed 's%abort: repository.*/test-doesnt-exist%abort: repository /test-doesnt-exist%'
Sune Foldager
handle file URIs correctly, according to RFC 2396 (issue1153)...
r9996 hg pull -q file:../test
Patrick Mezard
Fix test-pull under Windows
r10470 # It's tricky to make file:// URLs working on every platforms
# with regular shell commands.
URL=`python -c "import os; print 'file://foobar' + ('/' + os.getcwd().replace(os.sep, '/')).replace('//', '/') + '/../test'"`
hg pull -q $URL