hgext/patchbomb.py
changeset 10365 d757bc0c7865
parent 10285 61f4ea277f23
child 10611 e764f24a45ee
--- a/hgext/patchbomb.py	Sun Feb 07 14:01:43 2010 +0100
+++ b/hgext/patchbomb.py	Sun Feb 07 14:29:07 2010 +0100
@@ -233,7 +233,8 @@
     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)
+        dest, branches = hg.parseurl(dest)
+        revs, checkout = hg.addbranchrevs(repo, repo, branches, revs)
         if revs:
             revs = [repo.lookup(rev) for rev in revs]
         other = hg.repository(cmdutil.remoteui(repo, opts), dest)