mirror of
https://github.com/facebook/sapling.git
synced 2024-10-09 00:14:35 +03:00
51ae3ccedf
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Remove bashisms and use /bin/sh instead of /bin/bash. manifest hash: 25560e04ff8ac33a6d8b82d2328b4e90578bee4c -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFCxOEjW7P1GVgWeRoRAm9XAJ9IjlbMerPYEhKQQu7Ufcm6630cDwCfdXJ3 865XH6YVMuCYNjf3eibwQaM= =r3gh -----END PGP SIGNATURE-----
25 lines
238 B
Bash
Executable File
25 lines
238 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -ex
|
|
|
|
mkdir test
|
|
cd test
|
|
echo foo>foo
|
|
hg init
|
|
hg addremove
|
|
hg commit -t "1"
|
|
hg verify
|
|
|
|
hg clone . ../branch
|
|
cd ../branch
|
|
hg co
|
|
echo bar>>foo
|
|
hg commit -t "2"
|
|
|
|
cd ../test
|
|
hg pull ../branch
|
|
hg verify
|
|
hg co
|
|
cat foo
|
|
hg manifest
|