Thu, 06 Apr 2017 00:03:50 -0400
add rollback, more hg riffs!
356 | 1 | #!/bin/sh |
2 | set -eu | |
3 | ||
4 | if [ -d ~/.hgext/evolve ]; then | |
5 | hg -R ~/.hgext/evolve fetch | |
6 | else | |
7 | hg clone https://www.mercurial-scm.org/repo/evolve ~/.hgext/evolve | |
8 | printf '[extensions]\nevolve = ~/.hgext/evolve/hgext/evolve.py\n' >> ~/.hgrc.local | |
9 | fi | |
10 |