mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 08:47:12 +03:00
24 lines
298 B
Bash
Executable File
24 lines
298 B
Bash
Executable File
#! /bin/sh
|
|
|
|
# issue 1678
|
|
|
|
echo "# -- setting up base repo"
|
|
hg init a
|
|
cd a
|
|
touch a
|
|
hg ci -Am a
|
|
cd ..
|
|
|
|
echo "# -- cloning base repo"
|
|
hg clone a b
|
|
cd b
|
|
|
|
echo "# -- setting up cset to push"
|
|
hg up null
|
|
touch a
|
|
hg ci -Am b # different msg so we get a clog new entry
|
|
|
|
echo "# -- pushing"
|
|
hg push -f ../a
|
|
|