# HG changeset patch # User Jeff Hammel # Date 1269806810 14400 # Node ID 1aacc851332ba27d0fd2ffef54f8f70d86ab5f2d # Parent abe2508386aca2e8b4b7157e58fac5247c52a2bd add sensible ~/hg/hgrc file diff -r abe2508386ac -r 1aacc851332b python/install_config.py --- a/python/install_config.py Sun Mar 28 15:38:39 2010 -0400 +++ b/python/install_config.py Sun Mar 28 16:06:50 2010 -0400 @@ -17,6 +17,8 @@ commands = [ ['hg', 'init'], ['hg', 'pull', SRC], ['hg', 'update', '-C'], + + # get virtual env ['hg', 'clone', 'http://bitbucket.org/ianb/virtualenv'], ['ln' '-s', HOME + '/virtualenv/virtualenv.py', HOME + '/bin/'], @@ -34,6 +36,7 @@ sys.exit(code) execute(*commands) +subprocess.call('/bin/echo -e "[paths]\\ndefault = http://k0s.org/hg/config\\ndefault-push = ssh://k0s.org/hg/config" > ~/.hg/hgrc', shell=True) def install_develop(package): src = 'http://k0s.org/hg/%s' % package