mirror of
https://github.com/facebook/sapling.git
synced 2024-10-09 08:18:15 +03:00
fix http conditional
Summary: Fix bug in httpenabled check. Only local repo has edenapi attribute and not remote. Reviewed By: quark-zju Differential Revision: D31059979 fbshipit-source-id: c77f1455949f28b081f8fef86aeb83ecd1c3ceba
This commit is contained in:
parent
7a9cab0157
commit
f8d6e362da
@ -302,7 +302,7 @@ def _findcommonheadsnew(
|
||||
isselectivepull
|
||||
and ui.configbool("pull", "httpbookmarks")
|
||||
and ui.configbool("exchange", "httpcommitlookup")
|
||||
and getattr(remote, "edenapi", None) is not None
|
||||
and local.nullableedenapi is not None
|
||||
)
|
||||
|
||||
from .bookmarks import selectivepullbookmarknames, remotenameforurl
|
||||
|
Loading…
Reference in New Issue
Block a user