Show More
@@ -22,9 +22,14 b' from . import (' | |||||
22 | ) |
|
22 | ) | |
23 |
|
23 | |||
24 | def hideablerevs(repo): |
|
24 | def hideablerevs(repo): | |
25 |
"""Revision |
|
25 | """Revision candidates to be hidden | |
|
26 | ||||
|
27 | This is a standalone function to allow extensions to wrap it. | |||
26 |
|
28 | |||
27 | This is a standalone function to help extensions to wrap it.""" |
|
29 | Because we use the set of immutable changesets as a fallback subset in | |
|
30 | branchmap (see mercurial.branchmap.subsettable), you cannot set "public" | |||
|
31 | changesets as "hideable". Doing so would break multiple code assertions and | |||
|
32 | lead to crashes.""" | |||
28 | return obsolete.getrevs(repo, 'obsolete') |
|
33 | return obsolete.getrevs(repo, 'obsolete') | |
29 |
|
34 | |||
30 | def _getstatichidden(repo): |
|
35 | def _getstatichidden(repo): |
General Comments 0
You need to be logged in to leave comments.
Login now