##// END OF EJS Templates
exchange: import bookmarks as bookmod...
Pierre-Yves David -
r22622:ce6b9ede default
parent child Browse files
Show More
@@ -9,7 +9,7 b' from i18n import _'
9 9 from node import hex, nullid
10 10 import errno, urllib
11 11 import util, scmutil, changegroup, base85, error
12 import discovery, phases, obsolete, bookmarks, bundle2, pushkey
12 import discovery, phases, obsolete, bookmarks as bookmod, bundle2, pushkey
13 13
14 14 def readbundle(ui, fh, fname, vfs=None):
15 15 header = changegroup.readexactly(fh, 4)
@@ -315,7 +315,7 b' def _pushdiscoverybookmarks(pushop):'
315 315 ancestors = repo.changelog.ancestors(revnums, inclusive=True)
316 316 remotebookmark = remote.listkeys('bookmarks')
317 317
318 comp = bookmarks.compare(repo, repo._bookmarks, remotebookmark, srchex=hex)
318 comp = bookmod.compare(repo, repo._bookmarks, remotebookmark, srchex=hex)
319 319 addsrc, adddst, advsrc, advdst, diverge, differ, invalid = comp
320 320 for b, scid, dcid in advsrc:
321 321 if not ancestors or repo[scid].rev() in ancestors:
General Comments 0
You need to be logged in to leave comments. Login now