hgext/patchbomb.py
changeset 14556 517e1d88bf7e
parent 14397 0368ad7963be
child 15162 d67a15b2e608
equal deleted inserted replaced
14555:1ceb2cf9f9d9 14556:517e1d88bf7e
   274     def getoutgoing(dest, revs):
   274     def getoutgoing(dest, revs):
   275         '''Return the revisions present locally but not in dest'''
   275         '''Return the revisions present locally but not in dest'''
   276         dest = ui.expandpath(dest or 'default-push', dest or 'default')
   276         dest = ui.expandpath(dest or 'default-push', dest or 'default')
   277         dest, branches = hg.parseurl(dest)
   277         dest, branches = hg.parseurl(dest)
   278         revs, checkout = hg.addbranchrevs(repo, repo, branches, revs)
   278         revs, checkout = hg.addbranchrevs(repo, repo, branches, revs)
   279         other = hg.repository(hg.remoteui(repo, opts), dest)
   279         other = hg.peer(repo, opts, dest)
   280         ui.status(_('comparing with %s\n') % util.hidepassword(dest))
   280         ui.status(_('comparing with %s\n') % util.hidepassword(dest))
   281         common, _anyinc, _heads = discovery.findcommonincoming(repo, other)
   281         common, _anyinc, _heads = discovery.findcommonincoming(repo, other)
   282         nodes = revs and map(repo.lookup, revs) or revs
   282         nodes = revs and map(repo.lookup, revs) or revs
   283         o = repo.changelog.findmissing(common, heads=nodes)
   283         o = repo.changelog.findmissing(common, heads=nodes)
   284         if not o:
   284         if not o: