##// END OF EJS Templates
repoview: make the conversion from node to rev explicit while computing hidden...
Pierre-Yves David -
r21059:d7e233df default
parent child Browse files
Show More
@@ -27,6 +27,7 b' def _gethiddenblockers(repo):'
27 27 hideable = hideablerevs(repo)
28 28 blockers = []
29 29 if hideable:
30 # We use cl to avoid recursive lookup from repo[xxx]
30 31 cl = repo.changelog
31 32 firsthideable = min(hideable)
32 33 revs = cl.revs(start=firsthideable)
@@ -36,11 +37,11 b' def _gethiddenblockers(repo):'
36 37 for par in repo[None].parents():
37 38 blockers.append(par.rev())
38 39 for bm in repo._bookmarks.values():
39 blockers.append(repo[bm].rev())
40 blockers.append(cl.rev(bm))
40 41 tags = {}
41 42 tagsmod.readlocaltags(repo.ui, repo, tags, {})
42 43 if tags:
43 blockers.extend(repo[t[0]].rev() for t in tags.values())
44 blockers.extend(cl.rev(t[0]) for t in tags.values())
44 45 return blockers
45 46
46 47 def computehidden(repo):
General Comments 0
You need to be logged in to leave comments. Login now