equal
deleted
inserted
replaced
452 url = hg.parseurl(url)[0] |
452 url = hg.parseurl(url)[0] |
453 ui.status(_('comparing with %s\n') % util.hidepassword(url)) |
453 ui.status(_('comparing with %s\n') % util.hidepassword(url)) |
454 |
454 |
455 revs = [r for r in revs if r >= 0] |
455 revs = [r for r in revs if r >= 0] |
456 if not revs: |
456 if not revs: |
457 revs = [len(repo) - 1] |
457 revs = [repo.changelog.tiprev()] |
458 revs = repo.revs('outgoing(%s) and ::%ld', dest or '', revs) |
458 revs = repo.revs('outgoing(%s) and ::%ld', dest or '', revs) |
459 if not revs: |
459 if not revs: |
460 ui.status(_("no changes found\n")) |
460 ui.status(_("no changes found\n")) |
461 return revs |
461 return revs |
462 |
462 |