hgext/patchbomb.py
changeset 46908 4452cb788404
parent 46907 ffd3e823a7e5
child 46938 a48f15f1c178
equal deleted inserted replaced
46907:ffd3e823a7e5 46908:4452cb788404
   529 
   529 
   530 def _getoutgoing(repo, dest, revs):
   530 def _getoutgoing(repo, dest, revs):
   531     '''Return the revisions present locally but not in dest'''
   531     '''Return the revisions present locally but not in dest'''
   532     ui = repo.ui
   532     ui = repo.ui
   533     url = ui.expandpath(dest or b'default-push', dest or b'default')
   533     url = ui.expandpath(dest or b'default-push', dest or b'default')
   534     url = hg.parseurl(url)[0]
   534     url = urlutil.parseurl(url)[0]
   535     ui.status(_(b'comparing with %s\n') % urlutil.hidepassword(url))
   535     ui.status(_(b'comparing with %s\n') % urlutil.hidepassword(url))
   536 
   536 
   537     revs = [r for r in revs if r >= 0]
   537     revs = [r for r in revs if r >= 0]
   538     if not revs:
   538     if not revs:
   539         revs = [repo.changelog.tiprev()]
   539         revs = [repo.changelog.tiprev()]