Show More
@@ -9,7 +9,7 b' from i18n import _' | |||||
9 | from node import hex, nullid |
|
9 | from node import hex, nullid | |
10 | import errno, urllib |
|
10 | import errno, urllib | |
11 | import util, scmutil, changegroup, base85, error |
|
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 | def readbundle(ui, fh, fname, vfs=None): |
|
14 | def readbundle(ui, fh, fname, vfs=None): | |
15 | header = changegroup.readexactly(fh, 4) |
|
15 | header = changegroup.readexactly(fh, 4) | |
@@ -315,7 +315,7 b' def _pushdiscoverybookmarks(pushop):' | |||||
315 | ancestors = repo.changelog.ancestors(revnums, inclusive=True) |
|
315 | ancestors = repo.changelog.ancestors(revnums, inclusive=True) | |
316 | remotebookmark = remote.listkeys('bookmarks') |
|
316 | remotebookmark = remote.listkeys('bookmarks') | |
317 |
|
317 | |||
318 |
comp = bookm |
|
318 | comp = bookmod.compare(repo, repo._bookmarks, remotebookmark, srchex=hex) | |
319 | addsrc, adddst, advsrc, advdst, diverge, differ, invalid = comp |
|
319 | addsrc, adddst, advsrc, advdst, diverge, differ, invalid = comp | |
320 | for b, scid, dcid in advsrc: |
|
320 | for b, scid, dcid in advsrc: | |
321 | if not ancestors or repo[scid].rev() in ancestors: |
|
321 | if not ancestors or repo[scid].rev() in ancestors: |
General Comments 0
You need to be logged in to leave comments.
Login now