# HG changeset patch # User Matt Mackall # Date 1277573095 18000 # Node ID 9e1bc1aafdb11d10627a846dcb3a6f220c5fe4e5 # Parent ee1ed6afac219c578a6bd2c9a85c2ef354fbb4b3 bookmarks: fix bogus cut and paste for outgoing diff -r ee1ed6afac21 -r 9e1bc1aafdb1 hgext/bookmarks.py --- a/hgext/bookmarks.py Fri Jun 25 13:47:28 2010 -0500 +++ b/hgext/bookmarks.py Sat Jun 26 12:24:55 2010 -0500 @@ -473,14 +473,15 @@ else: oldincoming(ui, repo, source, **opts) -def outgoing(oldoutgoing, ui, repo, source="default", **opts): +def outgoing(oldoutgoing, ui, repo, dest=None, **opts): if opts.get('bookmarks'): - source, branches = hg.parseurl(ui.expandpath(source), opts.get('branch')) - other = hg.repository(hg.remoteui(repo, opts), source) - ui.status(_('comparing with %s\n') % url.hidepassword(source)) + dest = ui.expandpath(dest or 'default-push', dest or 'default') + dest, branches = hg.parseurl(dest, opts.get('branch')) + other = hg.repository(hg.remoteui(repo, opts), dest) + ui.status(_('comparing with %s\n') % url.hidepassword(dest)) diffbookmarks(ui, other, repo) else: - oldoutgoing(ui, repo, source, **opts) + oldoutgoing(ui, repo, dest, **opts) def uisetup(ui): extensions.wrapfunction(repair, "strip", strip)