Tue, 13 Jun 2017 01:57:06 -0400
one more pass
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 | |
591
2ee456c483b0
switch to a file just for extra extensions via script
Meredith Howard <mhoward@roomag.org>
parents:
356
diff
changeset
|
8 | |
2ee456c483b0
switch to a file just for extra extensions via script
Meredith Howard <mhoward@roomag.org>
parents:
356
diff
changeset
|
9 | [ -f ~/.hgext/hgrc ] || echo '[extensions]' > ~/.hgext/hgrc |
2ee456c483b0
switch to a file just for extra extensions via script
Meredith Howard <mhoward@roomag.org>
parents:
356
diff
changeset
|
10 | echo 'evolve = ~/.hgext/evolve/hgext3rd/evolve' >> ~/.hgext/hgrc |
356 | 11 | fi |
12 |