Mercurial > public > mercurial-scm > hg
comparison mercurial/configitems.py @ 34618:37b4375b1221
configitems: register the annotate diff options
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Wed, 11 Oct 2017 05:23:45 +0200 |
parents | c0dabec35019 |
children | 8bea493e7297 |
comparison
equal
deleted
inserted
replaced
34617:4876bf5a36fb | 34618:37b4375b1221 |
---|---|
60 def getitemregister(configtable): | 60 def getitemregister(configtable): |
61 return functools.partial(_register, configtable) | 61 return functools.partial(_register, configtable) |
62 | 62 |
63 coreconfigitem = getitemregister(coreitems) | 63 coreconfigitem = getitemregister(coreitems) |
64 | 64 |
65 coreconfigitem('annotate', 'nodates', | |
66 default=None, | |
67 ) | |
68 coreconfigitem('annotate', 'showfunc', | |
69 default=None, | |
70 ) | |
71 coreconfigitem('annotate', 'unified', | |
72 default=None, | |
73 ) | |
74 coreconfigitem('annotate', 'git', | |
75 default=None, | |
76 ) | |
77 coreconfigitem('annotate', 'ignorews', | |
78 default=None, | |
79 ) | |
80 coreconfigitem('annotate', 'ignorewsamount', | |
81 default=None, | |
82 ) | |
83 coreconfigitem('annotate', 'ignoreblanklines', | |
84 default=None, | |
85 ) | |
86 coreconfigitem('annotate', 'ignorewseol', | |
87 default=None, | |
88 ) | |
89 coreconfigitem('annotate', 'nobinary', | |
90 default=None, | |
91 ) | |
92 coreconfigitem('annotate', 'noprefix', | |
93 default=None, | |
94 ) | |
65 coreconfigitem('auth', 'cookiefile', | 95 coreconfigitem('auth', 'cookiefile', |
66 default=None, | 96 default=None, |
67 ) | 97 ) |
68 # bookmarks.pushing: internal hack for discovery | 98 # bookmarks.pushing: internal hack for discovery |
69 coreconfigitem('bookmarks', 'pushing', | 99 coreconfigitem('bookmarks', 'pushing', |