Submitter | phabricator |
---|---|
Date | Jan. 18, 2018, 1:38 p.m. |
Message ID | <differential-rev-PHID-DREV-q3xkhyadc7bvaqhau5ts-req@phab.mercurial-scm.org> |
Download | mbox | patch |
Permalink | /patch/26879/ |
State | Superseded |
Headers | show |
Comments
Patch
diff --git a/mercurial/commands.py b/mercurial/commands.py --- a/mercurial/commands.py +++ b/mercurial/commands.py @@ -1208,7 +1208,7 @@ raise error.Abort(_("--base is incompatible with specifying " "a destination")) common = [repo.lookup(rev) for rev in base] - heads = revs and map(repo.lookup, revs) or None + heads = map(repo.lookup, revs) if revs else None outgoing = discovery.outgoing(repo, common, heads) else: dest = ui.expandpath(dest or 'default-push', dest or 'default')