mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 17:27:53 +03:00
15 lines
205 B
Bash
15 lines
205 B
Bash
|
mkcommit() {
|
||
|
echo "$1" > "$1"
|
||
|
hg add "$1"
|
||
|
hg ci -m "$1"
|
||
|
}
|
||
|
|
||
|
getid() {
|
||
|
hg log --hidden --template '{node}\n' --rev "$1"
|
||
|
}
|
||
|
|
||
|
cat >> $HGRCPATH <<EOF
|
||
|
[alias]
|
||
|
debugobsolete=debugobsolete -d '0 0'
|
||
|
EOF
|