Show More
@@ -1132,7 +1132,10 b' def node_(repo, subset, x):' | |||||
1132 | if pm is not None: |
|
1132 | if pm is not None: | |
1133 | rn = repo.changelog.rev(pm) |
|
1133 | rn = repo.changelog.rev(pm) | |
1134 |
|
1134 | |||
1135 | return subset.filter(lambda r: r == rn) |
|
1135 | if rn is None: | |
|
1136 | return baseset() | |||
|
1137 | result = baseset([rn]) | |||
|
1138 | return result & subset | |||
1136 |
|
1139 | |||
1137 | def obsolete(repo, subset, x): |
|
1140 | def obsolete(repo, subset, x): | |
1138 | """``obsolete()`` |
|
1141 | """``obsolete()`` |
General Comments 0
You need to be logged in to leave comments.
Login now