mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 00:45:18 +03:00
3a08ca5eaa
manifest hash: 6e4385453843031a712005a320d6000595b40d05
17 lines
191 B
Bash
Executable File
17 lines
191 B
Bash
Executable File
#!/bin/sh
|
|
|
|
hg init
|
|
echo 123 > a
|
|
hg add a
|
|
hg commit -m "first" -d "0 0" a
|
|
mkdir sub
|
|
echo 321 > sub/b
|
|
hg add sub/b
|
|
hg commit -m "second" -d "0 0" sub/b
|
|
cat sub/b
|
|
hg co 0
|
|
cat sub/b
|
|
ls sub
|
|
|
|
true
|