bin/setup-hg-evolve

changeset 591
2ee456c483b0
parent 356
85890bd248ed
child 839
0beae3c33263
equal deleted inserted replaced
590:8d27d60a9cbc 591:2ee456c483b0
3 3
4 if [ -d ~/.hgext/evolve ]; then 4 if [ -d ~/.hgext/evolve ]; then
5 hg -R ~/.hgext/evolve fetch 5 hg -R ~/.hgext/evolve fetch
6 else 6 else
7 hg clone https://www.mercurial-scm.org/repo/evolve ~/.hgext/evolve 7 hg clone https://www.mercurial-scm.org/repo/evolve ~/.hgext/evolve
8 printf '[extensions]\nevolve = ~/.hgext/evolve/hgext/evolve.py\n' >> ~/.hgrc.local 8
9 [ -f ~/.hgext/hgrc ] || echo '[extensions]' > ~/.hgext/hgrc
10 echo 'evolve = ~/.hgext/evolve/hgext3rd/evolve' >> ~/.hgext/hgrc
9 fi 11 fi
10 12

mercurial