HomePhabricator

hgit: make sure repository is local before checking for store type

Authored by pulkit.

Description

hgit: make sure repository is local before checking for store type

httppeer (and maybe others too) does not have a store attribute. This was
causing hg pull being broken on a hg repository when the extension is enabled.

localpeer.local() does returns a non-None value but I am not sure if it matters.

Differential Revision: https://phab.mercurial-scm.org/D8217

Details

Committed
pulkitMar 4 2020, 11:43 AM
Differential Revision
D8217: hgit: make sure repository is local before checking for store type
Parents
rHGd880805d5442: hg-core: add function timing information
Branches
Unknown
Tags
Unknown