mirror of
https://github.com/facebook/sapling.git
synced 2024-10-09 16:31:02 +03:00
24 lines
243 B
Bash
Executable File
24 lines
243 B
Bash
Executable File
#!/bin/sh
|
|
|
|
cat >> $HGRCPATH <<EOF
|
|
[extensions]
|
|
hgcia=
|
|
|
|
[hooks]
|
|
changegroup.cia = python:hgext.hgcia.hook
|
|
|
|
[cia]
|
|
user = testuser
|
|
project = testproject
|
|
test = True
|
|
EOF
|
|
|
|
hg init src
|
|
hg init cia
|
|
|
|
cd src
|
|
echo foo > foo
|
|
hg ci -Amfoo
|
|
|
|
hg push ../cia
|