bin/setup-hg-evolve

changeset 892
ede01ab376a7
parent 841
f5eaa175beb4
child 985
349ea9f736b9
--- a/bin/setup-hg-evolve
+++ b/bin/setup-hg-evolve
@@ -1,12 +1,12 @@
 #!/bin/bash
 set -eu -o pipefail
 
-if ! (command -v pip2 && pip2 -V) &>/dev/null; then
+if ! (command -v pip3 && pip3 -V) &>/dev/null; then
   curl -fsSL --compressed https://bootstrap.pypa.io/get-pip.py |
-    python2 - --user
+    python3 - --user
 fi
 
-pip2 install --user --upgrade hg-evolve
+pip3 install --user --upgrade hg-evolve
 
 if ! grep -qsw evolve ~/.hgext/hgrc; then
   printf '[extensions]\nevolve =\n' >> ~/.hgext/hgrc

mercurial