mirror of
https://github.com/facebook/sapling.git
synced 2024-10-09 00:14:35 +03:00
17 lines
289 B
Bash
Executable File
17 lines
289 B
Bash
Executable File
#!/bin/sh
|
|
|
|
hg init
|
|
echo "nothing" > a
|
|
hg add a
|
|
hg commit -m ancestor -d "1000000 0"
|
|
echo "something" > a
|
|
hg commit -m branch1 -d "1000000 0"
|
|
hg co 0
|
|
echo "something else" > a
|
|
hg commit -m branch2 -d "1000000 0"
|
|
HGMERGE=merge; export HGMERGE
|
|
hg merge 1
|
|
hg id
|
|
egrep -v ">>>|<<<" a
|
|
hg status
|