mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 16:57:49 +03:00
12 lines
169 B
Bash
Executable File
12 lines
169 B
Bash
Executable File
#!/bin/sh
|
|
|
|
hg init a
|
|
echo a > a/a
|
|
hg --cwd a ci -A -m a
|
|
hg clone a b
|
|
echo b > b/b
|
|
hg --cwd b ci -A -m b
|
|
chmod 100 a/.hg/store
|
|
hg --cwd b push ../a
|
|
chmod 700 a/.hg/store
|