Tue, 30 Aug 2016 18:14:12 -0400
reformat
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 |