equal
deleted
inserted
replaced
48 else: |
48 else: |
49 if topic == '.': |
49 if topic == '.': |
50 topic = repo['.'].extra().get('topic', '') |
50 topic = repo['.'].extra().get('topic', '') |
51 _kind, _pattern, matcher = mkmatcher(topic) |
51 _kind, _pattern, matcher = mkmatcher(topic) |
52 |
52 |
|
53 def matches(r): |
|
54 topic = repo[r].topic() |
|
55 if not topic: |
|
56 return False |
|
57 return matcher(topic) |
|
58 |
|
59 if True: |
|
60 return (subset & mutable).filter(matches) |
|
61 |
53 rawchange = repo.changelog.changelogrevision |
62 rawchange = repo.changelog.changelogrevision |
54 key = constants.extrakey |
63 key = constants.extrakey |
55 |
64 |
56 def matchtopic(r): |
65 def matchtopic(r): |
57 topic = rawchange(r).extra.get(key) |
66 topic = rawchange(r).extra.get(key) |