mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 16:57:49 +03:00
Prevent exception in incoming with hg <= 1.6
With this patch, incoming against a git repo returns "no changes found" with hg <= 1.6.
This commit is contained in:
parent
95c74ae913
commit
b7ea69294f
@ -32,6 +32,9 @@ class gitrepo(repo.repository):
|
|||||||
def pushkey(self, namespace, key, old, new):
|
def pushkey(self, namespace, key, old, new):
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
# used by incoming in hg <= 1.6
|
||||||
|
def branches(self, nodes):
|
||||||
|
return []
|
||||||
|
|
||||||
instance = gitrepo
|
instance = gitrepo
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user