Mercurial > hg-stable
view tests/test-lock-badness @ 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 | c0b449154a90 |
children |
line wrap: on
line source
#!/bin/sh hg init a echo a > a/a hg --cwd a ci -A -m a hg clone a b echo b > b/b hg --cwd b ci -A -m b chmod 100 a/.hg/store hg --cwd b push ../a chmod 700 a/.hg/store