comparison python/hgrc.py @ 488:5f288c70acb6

python/hgrc.py
author Jeff Hammel <jhammel@mozilla.com>
date Sat, 10 Aug 2013 21:26:27 -0700
parents 178419da6e0b
children 9b95f12fef36
comparison
equal deleted inserted replaced
487:178419da6e0b 488:5f288c70acb6
31 31
32 #@parser # decorator makes this x-form path -> ConfigParser automagically 32 #@parser # decorator makes this x-form path -> ConfigParser automagically
33 @section('paths') 33 @section('paths')
34 def set_default(parser, default): 34 def set_default(parser, default):
35 """set [paths]:default""" 35 """set [paths]:default"""
36 parser.set('paths', 'default-push', default_push) 36 parser.set('paths', 'default', default)
37 37
38 38
39 @section('paths') 39 @section('paths')
40 def set_default_push(parser, default_push): 40 def set_default_push(parser, default_push):
41 """ 41 """