##// END OF EJS Templates
wireproto: convert python literal to object without using unsafe eval()...
wireproto: convert python literal to object without using unsafe eval() Follows up cc5a040fe150. At this point, I don't think we need a real eval(). If we want to support a set literal, maybe we can vendor ast.literal_eval(), which is relatively simple function.

File last commit:

r32879:1858fc23 default
r37494:e9dea82e default
Show More
obsmarker-common.sh
14 lines | 205 B | application/x-sh | BashLexer
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