Mercurial > hg
comparison hgext/patchbomb.py @ 11273:d1908cb95a82
remoteui: move from cmdutil to hg
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Tue, 01 Jun 2010 11:18:57 -0500 |
parents | 687c7d395f20 |
children | 3d0591a66118 |
comparison
equal
deleted
inserted
replaced
11272:e8a66a40474d | 11273:d1908cb95a82 |
---|---|
240 dest = ui.expandpath(dest or 'default-push', dest or 'default') | 240 dest = ui.expandpath(dest or 'default-push', dest or 'default') |
241 dest, branches = hg.parseurl(dest) | 241 dest, branches = hg.parseurl(dest) |
242 revs, checkout = hg.addbranchrevs(repo, repo, branches, revs) | 242 revs, checkout = hg.addbranchrevs(repo, repo, branches, revs) |
243 if revs: | 243 if revs: |
244 revs = [repo.lookup(rev) for rev in revs] | 244 revs = [repo.lookup(rev) for rev in revs] |
245 other = hg.repository(cmdutil.remoteui(repo, opts), dest) | 245 other = hg.repository(hg.remoteui(repo, opts), dest) |
246 ui.status(_('comparing with %s\n') % dest) | 246 ui.status(_('comparing with %s\n') % dest) |
247 o = repo.findoutgoing(other) | 247 o = repo.findoutgoing(other) |
248 if not o: | 248 if not o: |
249 ui.status(_("no changes found\n")) | 249 ui.status(_("no changes found\n")) |
250 return [] | 250 return [] |