mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 16:57:49 +03:00
94cd97b240
test failed on plain FreeBSD 6.2 due to nonexistent bash
32 lines
398 B
Bash
Executable File
32 lines
398 B
Bash
Executable File
#!/bin/sh
|
|
|
|
for i in aaa zzz; do
|
|
hg init t
|
|
cd t
|
|
|
|
echo "-- With $i"
|
|
|
|
touch file
|
|
hg add file
|
|
hg ci -m "Add"
|
|
|
|
hg cp file $i
|
|
hg ci -m "a -> $i"
|
|
|
|
hg cp $i other-file
|
|
echo "different" >> $i
|
|
hg ci -m "$i -> other-file"
|
|
|
|
hg cp other-file somename
|
|
|
|
echo "Status":
|
|
hg st -C
|
|
echo
|
|
echo "Diff:"
|
|
hg diff -g
|
|
echo
|
|
|
|
cd ..
|
|
rm -rf t
|
|
done
|