Mercurial > hg > config
comparison python/hgrc.py @ 466:3ffcbffb6fb4
python/hgrc.py
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Sat, 10 Aug 2013 18:46:53 -0700 |
parents | ae2db9e613f1 |
children | 980584d34134 |
comparison
equal
deleted
inserted
replaced
465:ae2db9e613f1 | 466:3ffcbffb6fb4 |
---|---|
32 if not args: | 32 if not args: |
33 args = [subprocess.check_output(['hg', 'root']).strip()] | 33 args = [subprocess.check_output(['hg', 'root']).strip()] |
34 | 34 |
35 # if not specified, set a default action | 35 # if not specified, set a default action |
36 default_action = 'default_push_ssh' | 36 default_action = 'default_push_ssh' |
37 avaiable_actions = ('default_push', | 37 available_actions = ('default_push', |
38 'default_push_ssh', | 38 'default_push_ssh', |
39 'list_hgrc', | 39 'list_hgrc', |
40 ) | 40 ) |
41 actions = dict([(name, getattr(options, name)) | 41 actions = dict([(name, getattr(options, name)) |
42 for name in available_actions | 42 for name in available_actions |