Created
October 26, 2012 09:35
-
-
Save ogavrisevs/3957856 to your computer and use it in GitHub Desktop.
Install mercurila keyring extension (for cygwin users)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Simple script to add keyring extension for mercurial. | |
# (only for cygwin users with native hg installation from debina package) | |
# This keyring extension enables password save so you do not need to enter it every time. | |
# | |
# Script install steps: | |
# 1) keyring lib from python rep. | |
# 2) downloads extension | |
# 3) configure mercurial to use keyring extension | |
userName=user.Name | |
easy_install keyring | |
wget --no-check-certificate -d -A.py -O /cygdrive/c/Users/$userName/mercurial_keyring.py https://bitbucket.org/Mekk/mercurial_keyring/raw/default/mercurial_keyring.py | |
hg --config "extensions.mercurial_keyring=/cygdrive/c/Users/"$userName"/mercurial_keyring.py" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment