--- a/hgext/patchbomb.py Fri Jun 10 11:43:38 2011 -0500
+++ b/hgext/patchbomb.py Fri Jun 10 11:43:38 2011 -0500
@@ -276,7 +276,7 @@
dest = ui.expandpath(dest or 'default-push', dest or 'default')
dest, branches = hg.parseurl(dest)
revs, checkout = hg.addbranchrevs(repo, repo, branches, revs)
- other = hg.repository(hg.remoteui(repo, opts), dest)
+ other = hg.peer(repo, opts, dest)
ui.status(_('comparing with %s\n') % util.hidepassword(dest))
common, _anyinc, _heads = discovery.findcommonincoming(repo, other)
nodes = revs and map(repo.lookup, revs) or revs