Mercurial > public > mercurial-scm > hg-stable
diff mercurial/commands.py @ 18706:f17680992123
merge with stable
author | Kevin Bullock <kbullock@ringworld.org> |
---|---|
date | Tue, 19 Feb 2013 13:35:39 -0600 |
parents | 12721a20ed30 61c8327ced50 |
children | 6b786dc88612 |
line wrap: on
line diff
--- a/mercurial/commands.py Tue Feb 19 13:35:25 2013 -0600 +++ b/mercurial/commands.py Tue Feb 19 13:35:39 2013 -0600 @@ -1068,7 +1068,7 @@ dest = ui.expandpath(dest or 'default-push', dest or 'default') dest, branches = hg.parseurl(dest, opts.get('branch')) other = hg.peer(repo, opts, dest) - revs, checkout = hg.addbranchrevs(repo, other, branches, revs) + revs, checkout = hg.addbranchrevs(repo, repo, branches, revs) heads = revs and map(repo.lookup, revs) or revs outgoing = discovery.findcommonoutgoing(repo, other, onlyheads=heads,