mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 07:17:55 +03:00
3a08ca5eaa
manifest hash: 6e4385453843031a712005a320d6000595b40d05
29 lines
275 B
Bash
Executable File
29 lines
275 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -x
|
|
mkdir a
|
|
cd a
|
|
hg init
|
|
echo a > a
|
|
hg add a
|
|
hg commit -m test -d '0 0'
|
|
|
|
# Default operation
|
|
hg clone . ../b
|
|
cd ../b
|
|
cat a
|
|
hg verify
|
|
|
|
# No update
|
|
hg clone -U . ../c
|
|
cd ../c
|
|
cat a
|
|
hg verify
|
|
|
|
# Default destination
|
|
mkdir ../d
|
|
cd ../d
|
|
hg clone ../a
|
|
cd a
|
|
hg cat a
|