Mercurial > hg
view tests/test-serve.out @ 13019:42ac864ed394
test-hardlinks: add testcase for repo copied with 'cp -al'
This patch adds a case to test-hardlinks.t which demonstrates that
hardlinks in the working directory are broken up (using 'hg update').
Motivation for this patch:
'hg help clone' shows copying repositories *and* the working directory
using 'cp -al', creating hardlinks in the *working directory* too (not
just in the store).
Note that we can't use 'cp -al' since for example MacOS X doesn't
support these options on cp. I'm thus using the same trick as in
test-hardlinks-safety.t for creating hardlinks in the working dir.
author | Adrian Buehlmann <adrian@cadifra.com> |
---|---|
date | Wed, 17 Nov 2010 16:54:30 +0100 |
parents | fdb0983ad395 |
children |
line wrap: on
line source
% Without -v access log created - .hg/hgrc respected % errors % With -v listening at http://localhost/ (bound to 127.0.0.1:HGPORT1) % errors % With -v and -p HGPORT2 listening at http://localhost/ (bound to 127.0.0.1:HGPORT2) % errors % With -v and -p daytime (should fail because low port) abort: cannot start server at 'localhost:13': Permission denied abort: child process failed to start % errors % With --prefix foo listening at http://localhost/foo/ (bound to 127.0.0.1:HGPORT1) % errors % With --prefix /foo listening at http://localhost/foo/ (bound to 127.0.0.1:HGPORT1) % errors % With --prefix foo/ listening at http://localhost/foo/ (bound to 127.0.0.1:HGPORT1) % errors % With --prefix /foo/ listening at http://localhost/foo/ (bound to 127.0.0.1:HGPORT1) % errors