mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 00:45:18 +03:00
21 lines
169 B
Plaintext
21 lines
169 B
Plaintext
|
#!/bin/sh
|
||
|
|
||
|
mkdir a
|
||
|
cd a
|
||
|
hg init
|
||
|
echo foo > b
|
||
|
hg add b
|
||
|
hg ci -m "b" -d "0 0"
|
||
|
|
||
|
chmod -w .hg
|
||
|
|
||
|
cd ..
|
||
|
|
||
|
hg clone a b
|
||
|
cd b
|
||
|
hg verify
|
||
|
|
||
|
cd ..
|
||
|
|
||
|
chmod +w a/.hg # let test clean up
|