Show More
@@ -10,6 +10,7 b' import copy' | |||
|
10 | 10 | import phases |
|
11 | 11 | import util |
|
12 | 12 | import obsolete |
|
13 | import tags as tagsmod | |
|
13 | 14 | |
|
14 | 15 | |
|
15 | 16 | def hideablerevs(repo): |
@@ -35,9 +36,10 b' def computehidden(repo):' | |||
|
35 | 36 | blockers.append(par.rev()) |
|
36 | 37 | for bm in repo._bookmarks.values(): |
|
37 | 38 | blockers.append(repo[bm].rev()) |
|
38 | tags = [n for t, n in repo.tags().iteritems() | |
|
39 | if (repo.tagtype(t) and repo.tagtype(t) != 'global')] | |
|
40 | blockers.extend(repo[t].rev() for t in tags) | |
|
39 | tags = {} | |
|
40 | tagsmod.readlocaltags(repo.ui, repo, tags, {}) | |
|
41 | if tags: | |
|
42 | blockers.extend(repo[t[0]].rev() for t in tags.values()) | |
|
41 | 43 | blocked = cl.ancestors(blockers, inclusive=True) |
|
42 | 44 | return frozenset(r for r in hideable if r not in blocked) |
|
43 | 45 | return frozenset() |
General Comments 0
You need to be logged in to leave comments.
Login now