Show More
@@ -1277,7 +1277,7 b' def named(repo, subset, x):' | |||||
1277 | names = set() |
|
1277 | names = set() | |
1278 | for ns in namespaces: |
|
1278 | for ns in namespaces: | |
1279 | for name in ns.listnames(repo): |
|
1279 | for name in ns.listnames(repo): | |
1280 | names.update(ns.nodes(repo, name)) |
|
1280 | names.update(repo[n].rev() for n in ns.nodes(repo, name)) | |
1281 |
|
1281 | |||
1282 | names -= set([node.nullrev]) |
|
1282 | names -= set([node.nullrev]) | |
1283 | return subset & names |
|
1283 | return subset & names |
@@ -787,6 +787,12 b' we can use patterns when searching for t' | |||||
787 | $ log 'present(named("unknown"))' |
|
787 | $ log 'present(named("unknown"))' | |
788 | $ log 'present(named("re:unknown"))' |
|
788 | $ log 'present(named("re:unknown"))' | |
789 |
|
789 | |||
|
790 | $ log 'tag()' | |||
|
791 | 6 | |||
|
792 | $ log 'named("tags")' | |||
|
793 | 6 | |||
|
794 | 9 | |||
|
795 | ||||
790 | issue2437 |
|
796 | issue2437 | |
791 |
|
797 | |||
792 | $ log '3 and p1(5)' |
|
798 | $ log '3 and p1(5)' |
General Comments 0
You need to be logged in to leave comments.
Login now