Mercurial > hg-stable
view tests/test-journal-exists @ 6920:7e5e13bee8f4
Make test-hardlinks-safety portable
On some systems cp cannot create/preserve hardlinks.
Use util.copyfiles instead, after making sure it actually does
create hardlinks.
author | Christian Ebert <blacktrash@gmx.net> |
---|---|
date | Wed, 20 Aug 2008 17:58:12 +0200 |
parents | b6d8972ce339 |
children | c40a1ee20aa5 |
line wrap: on
line source
#!/bin/sh hg init echo a > a hg ci -Am0 touch .hg/store/journal echo foo > a hg ci -Am0 hg recover