bin/setup-hg-evolve

Tue, 07 Mar 2017 15:41:19 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Tue, 07 Mar 2017 15:41:19 -0500
changeset 529
99f120bc1ad9
parent 356
85890bd248ed
child 591
2ee456c483b0
permissions
-rwxr-xr-x

oops, overloaded -y

#!/bin/sh
set -eu

if [ -d ~/.hgext/evolve ]; then
  hg -R ~/.hgext/evolve fetch
else
  hg clone https://www.mercurial-scm.org/repo/evolve ~/.hgext/evolve
  printf '[extensions]\nevolve = ~/.hgext/evolve/hgext/evolve.py\n' >> ~/.hgrc.local
fi

mercurial