mirror of
https://github.com/facebook/sapling.git
synced 2024-10-12 01:39:21 +03:00
pushdiscovery: remove unneeded revrange
When expushdiscovery is called the list of revs has already been resolved.
This commit is contained in:
parent
24beffb621
commit
0d550cd9f6
@ -206,7 +206,7 @@ def expushdiscoverybookmarks(pushop):
|
||||
if not _pushto and not repo.ui.configbool('remotenames', 'pushanonheads'):
|
||||
# check to make sure we don't push an anonymous head
|
||||
if pushop.revs:
|
||||
revs = set(repo.lookup(r) for r in scmutil.revrange(repo, pushop.revs))
|
||||
revs = set(pushop.revs)
|
||||
else:
|
||||
revs = set(repo.lookup(r) for r in repo.revs('head()'))
|
||||
# find heads that don't have a bookmark going with them
|
||||
|
Loading…
Reference in New Issue
Block a user