Details
Details
- Reviewers
indygreg - Group Reviewers
hg-reviewers - Commits
- rHG9772ef9f6c04: narrow: assume addflagprocessor will always exist on revlog module
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Lint Skipped - Unit
Unit Tests Skipped
( )
indygreg |
hg-reviewers |
Lint Skipped |
Unit Tests Skipped |
Path | Packages | |||
---|---|---|---|---|
M | hgext/narrow/narrowrevlog.py (5 lines) |
Status | Author | Revision | |
---|---|---|---|
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 |
return text, False | return text, False | ||||
def writetransform(self, text): | def writetransform(self, text): | ||||
return text, False | return text, False | ||||
def rawtransform(self, text): | def rawtransform(self, text): | ||||
return False | return False | ||||
if util.safehasattr(revlog, 'addflagprocessor'): | |||||
revlog.addflagprocessor(ELLIPSIS_NODE_FLAG, | revlog.addflagprocessor(ELLIPSIS_NODE_FLAG, | ||||
(readtransform, writetransform, rawtransform)) | (readtransform, writetransform, rawtransform)) | ||||
def setup(): | def setup(): | ||||
# We just wanted to add the flag processor, which is done at module | # We just wanted to add the flag processor, which is done at module | ||||
# load time. | # load time. | ||||
pass | pass | ||||
class excludeddir(manifest.treemanifest): | class excludeddir(manifest.treemanifest): | ||||
def __init__(self, dir, node): | def __init__(self, dir, node): |