hgext/patchbomb.py
changeset 10019 4e3a8f3e9dc2
parent 9947 4600e6222efb
parent 10018 4ddfad7ebd98
child 10023 15fbbc939373
equal deleted inserted replaced
10017:253d0da256b2 10019:4e3a8f3e9dc2
   228     _charsets = mail._charsets(ui)
   228     _charsets = mail._charsets(ui)
   229 
   229 
   230     def outgoing(dest, revs):
   230     def outgoing(dest, revs):
   231         '''Return the revisions present locally but not in dest'''
   231         '''Return the revisions present locally but not in dest'''
   232         dest = ui.expandpath(dest or 'default-push', dest or 'default')
   232         dest = ui.expandpath(dest or 'default-push', dest or 'default')
       
   233         dest, revs, checkout = hg.parseurl(dest, revs)
   233         revs = [repo.lookup(rev) for rev in revs]
   234         revs = [repo.lookup(rev) for rev in revs]
   234         other = hg.repository(cmdutil.remoteui(repo, opts), dest)
   235         other = hg.repository(cmdutil.remoteui(repo, opts), dest)
   235         ui.status(_('comparing with %s\n') % dest)
   236         ui.status(_('comparing with %s\n') % dest)
   236         o = repo.findoutgoing(other)
   237         o = repo.findoutgoing(other)
   237         if not o:
   238         if not o: