mirror of
https://github.com/facebook/sapling.git
synced 2024-10-09 00:14:35 +03:00
15 lines
186 B
Plaintext
15 lines
186 B
Plaintext
|
#!/bin/sh
|
||
|
|
||
|
hg init dir
|
||
|
cd dir
|
||
|
echo bleh > bar
|
||
|
hg add bar
|
||
|
hg ci -m 'add bar'
|
||
|
|
||
|
hg cp bar foo
|
||
|
echo >> bar
|
||
|
hg ci -m 'cp bar foo; change bar'
|
||
|
|
||
|
hg debugrename foo
|
||
|
hg debugindex .hg/data/bar.i
|