##// END OF EJS Templates
Fix argument handling for hg -v pull -v x (issue 436)
Matt Mackall -
r3742:86c1d1d3 default
parent child Browse files
Show More
@@ -24,7 +24,7 b' def fancyopts(args, options, state):'
24 elif dt[map[opt]] is type(1): state[map[opt]] = int(arg)
24 elif dt[map[opt]] is type(1): state[map[opt]] = int(arg)
25 elif dt[map[opt]] is type(''): state[map[opt]] = arg
25 elif dt[map[opt]] is type(''): state[map[opt]] = arg
26 elif dt[map[opt]] is type([]): state[map[opt]].append(arg)
26 elif dt[map[opt]] is type([]): state[map[opt]].append(arg)
27 elif dt[map[opt]] is type(None): state[map[opt]] = 1
27 elif dt[map[opt]] is type(None): state[map[opt]] = True
28
28
29 return args
29 return args
30
30
General Comments 0
You need to be logged in to leave comments. Login now