Fri, 30 Dec 2016 12:54:48 -0500
switch to ddg
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 |