bin/setup-hg-evolve@0775d43ca3d0
bin/setup-hg-evolve
Sat, 14 Oct 2017 00:45:09 -0400
- author
- Meredith Howard <mhoward@roomag.org>
- date
- Sat, 14 Oct 2017 00:45:09 -0400
- changeset 654
- 0775d43ca3d0
- parent 591
-
2ee456c483b0
- child 839
-
0beae3c33263
- permissions
- -rwxr-xr-x
tired of ddg
#!/bin/sh
set -eu
if [ -d ~/.hgext/evolve ]; then
hg -R ~/.hgext/evolve fetch
else
hg clone https://www.mercurial-scm.org/repo/evolve ~/.hgext/evolve
[ -f ~/.hgext/hgrc ] || echo '[extensions]' > ~/.hgext/hgrc
echo 'evolve = ~/.hgext/evolve/hgext3rd/evolve' >> ~/.hgext/hgrc
fi