equal
deleted
inserted
replaced
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()] |