##// END OF EJS Templates
addbranchrevs: explicitly detect the need to fetch a peer...
marmoute -
r50641:2a5feacc default
parent child Browse files
Show More
@@ -66,7 +66,11 b" sharedbookmarks = b'bookmarks'"
66
66
67
67
68 def addbranchrevs(lrepo, other, branches, revs):
68 def addbranchrevs(lrepo, other, branches, revs):
69 peer = other.peer() # a courtesy to callers using a localrepo for other
69 if util.safehasattr(other, 'peer'):
70 # a courtesy to callers using a localrepo for other
71 peer = other.peer()
72 else:
73 peer = other
70 hashbranch, branches = branches
74 hashbranch, branches = branches
71 if not hashbranch and not branches:
75 if not hashbranch and not branches:
72 x = revs or None
76 x = revs or None
General Comments 0
You need to be logged in to leave comments. Login now