equal
deleted
inserted
replaced
34 topic = repo['.'].extra().get('topic', '') |
34 topic = repo['.'].extra().get('topic', '') |
35 _kind, _pattern, matcher = mkmatcher(topic) |
35 _kind, _pattern, matcher = mkmatcher(topic) |
36 else: |
36 else: |
37 matcher = lambda t: bool(t) |
37 matcher = lambda t: bool(t) |
38 |
38 |
39 # XXX-mercurial 4.1 compat |
39 mutable = revset._notpublic(repo, revset.fullreposet(repo), ()) |
40 # otherwise use: |
|
41 # |
|
42 # mutable = repo._phasecache.getrevset(repo, (phases.draft, phases.secret)) |
|
43 # |
|
44 mutable = set() |
|
45 for u in repo._phasecache._phasesets[1:]: |
|
46 mutable.update(u) |
|
47 mutable = revset.baseset(mutable - repo.changelog.filteredrevs) |
|
48 mutable.sort() |
|
49 |
40 |
50 rawchange = repo.changelog.changelogrevision |
41 rawchange = repo.changelog.changelogrevision |
51 key = constants.extrakey |
42 key = constants.extrakey |
52 |
43 |
53 def matchtopic(r): |
44 def matchtopic(r): |