equal
deleted
inserted
replaced
3734 cmdutil.outgoinghooks(ui, repo, other, opts, o) |
3734 cmdutil.outgoinghooks(ui, repo, other, opts, o) |
3735 return 0 |
3735 return 0 |
3736 |
3736 |
3737 if opts.get('bookmarks'): |
3737 if opts.get('bookmarks'): |
3738 dest = path.pushloc or path.loc |
3738 dest = path.pushloc or path.loc |
3739 dest, branches = hg.parseurl(dest, opts.get('branch')) |
|
3740 other = hg.peer(repo, opts, dest) |
3739 other = hg.peer(repo, opts, dest) |
3741 if 'bookmarks' not in other.listkeys('namespaces'): |
3740 if 'bookmarks' not in other.listkeys('namespaces'): |
3742 ui.warn(_("remote doesn't support bookmarks\n")) |
3741 ui.warn(_("remote doesn't support bookmarks\n")) |
3743 return 0 |
3742 return 0 |
3744 ui.status(_('comparing with %s\n') % util.hidepassword(dest)) |
3743 ui.status(_('comparing with %s\n') % util.hidepassword(dest)) |