bin/setup-hg-evolve@eeafc178ddc4
bin/setup-hg-evolve
Tue, 17 Jan 2017 21:55:05 -0500
- author
- Meredith Howard <mhoward@roomag.org>
- date
- Tue, 17 Jan 2017 21:55:05 -0500
- changeset 477
- eeafc178ddc4
- parent 356
-
85890bd248ed
- child 591
-
2ee456c483b0
- permissions
- -rwxr-xr-x
add -f for only plain files
#!/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
printf '[extensions]\nevolve = ~/.hgext/evolve/hgext/evolve.py\n' >> ~/.hgrc.local
fi