Show More
@@ -169,6 +169,7 b' configtable = eh.configtable' | |||
|
169 | 169 | extsetup = eh.finalextsetup |
|
170 | 170 | uisetup = eh.finaluisetup |
|
171 | 171 | reposetup = eh.finalreposetup |
|
172 | templatekeyword = eh.templatekeyword | |
|
172 | 173 | |
|
173 | 174 | eh.configitem('experimental', 'lfs.serve', |
|
174 | 175 | default=True, |
@@ -199,7 +200,6 b" eh.configitem('lfs', 'track'," | |||
|
199 | 200 | eh.configitem('lfs', 'retry', |
|
200 | 201 | default=5, |
|
201 | 202 | ) |
|
202 | templatekeyword = registrar.templatekeyword() | |
|
203 | 203 | filesetpredicate = registrar.filesetpredicate() |
|
204 | 204 | |
|
205 | 205 | lfsprocessor = ( |
@@ -347,7 +347,7 b' def lfsfileset(mctx, x):' | |||
|
347 | 347 | return wrapper.pointerfromctx(ctx, f, removed=True) is not None |
|
348 | 348 | return mctx.predicate(lfsfilep, predrepr='<lfs>') |
|
349 | 349 | |
|
350 | @templatekeyword('lfs_files', requires={'ctx'}) | |
|
350 | @eh.templatekeyword('lfs_files', requires={'ctx'}) | |
|
351 | 351 | def lfsfiles(context, mapping): |
|
352 | 352 | """List of strings. All files modified, added, or removed by this |
|
353 | 353 | changeset.""" |
@@ -41,6 +41,7 b' class exthelper(object):' | |||
|
41 | 41 | self.configtable = {} |
|
42 | 42 | self.configitem = registrar.configitem(self.configtable) |
|
43 | 43 | self.revsetpredicate = registrar.revsetpredicate() |
|
44 | self.templatekeyword = registrar.templatekeyword() | |
|
44 | 45 | |
|
45 | 46 | def merge(self, other): |
|
46 | 47 | self._uicallables.extend(other._uicallables) |
@@ -48,6 +49,7 b' class exthelper(object):' | |||
|
48 | 49 | self._extcallables.extend(other._extcallables) |
|
49 | 50 | self._repocallables.extend(other._repocallables) |
|
50 | 51 | self.revsetpredicate._table.update(other.revsetpredicate._table) |
|
52 | self.templatekeyword._table.update(other.templatekeyword._table) | |
|
51 | 53 | self._commandwrappers.extend(other._commandwrappers) |
|
52 | 54 | self._extcommandwrappers.extend(other._extcommandwrappers) |
|
53 | 55 | self._functionwrappers.extend(other._functionwrappers) |
General Comments 0
You need to be logged in to leave comments.
Login now