##// END OF EJS Templates
discovery: look up bookmarks only among bookmarks...
Martin von Zweigbergk -
r37469:444ed53f default
parent child Browse files
Show More
@@ -297,12 +297,12 b' def _nowarnheads(pushop):'
297 for bm in localbookmarks:
297 for bm in localbookmarks:
298 rnode = remotebookmarks.get(bm)
298 rnode = remotebookmarks.get(bm)
299 if rnode and rnode in repo:
299 if rnode and rnode in repo:
300 lctx, rctx = repo[bm], repo[rnode]
300 lctx, rctx = localbookmarks.changectx(bm), repo[rnode]
301 if bookmarks.validdest(repo, rctx, lctx):
301 if bookmarks.validdest(repo, rctx, lctx):
302 bookmarkedheads.add(lctx.node())
302 bookmarkedheads.add(lctx.node())
303 else:
303 else:
304 if bm in newbookmarks and bm not in remotebookmarks:
304 if bm in newbookmarks and bm not in remotebookmarks:
305 bookmarkedheads.add(repo[bm].node())
305 bookmarkedheads.add(localbookmarks[bm])
306
306
307 return bookmarkedheads
307 return bookmarkedheads
308
308
General Comments 0
You need to be logged in to leave comments. Login now