diff hgext/patchbomb.py @ 10018:4ddfad7ebd98 stable

patchbomb: handle repository#rev URLs correctly
author Sune Foldager <cryo@cyanite.org>
date Sun, 06 Dec 2009 23:22:17 +0100
parents 72d670c43f6e
children 4e3a8f3e9dc2 585f51f8b5f0
line wrap: on
line diff
--- a/hgext/patchbomb.py	Thu Dec 03 11:06:55 2009 +0100
+++ b/hgext/patchbomb.py	Sun Dec 06 23:22:17 2009 +0100
@@ -230,6 +230,7 @@
     def outgoing(dest, revs):
         '''Return the revisions present locally but not in dest'''
         dest = ui.expandpath(dest or 'default-push', dest or 'default')
+        dest, revs, checkout = hg.parseurl(dest, revs)
         revs = [repo.lookup(rev) for rev in revs]
         other = hg.repository(cmdutil.remoteui(repo, opts), dest)
         ui.status(_('comparing with %s\n') % dest)