Tue, 07 Mar 2017 15:41:19 -0500
oops, overloaded -y
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 |