comparison mercurial/unionrepo.py @ 49753:ff7134e03629

peer: have `repo.peer` take an optional `path` argument We are ready to start to actually set the value now.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Sat, 03 Dec 2022 00:16:07 +0100
parents 642e31cb55f0
children 90f047edab4f
comparison
equal deleted inserted replaced
49752:611ccb631cbc 49753:ff7134e03629
255 self.repo2.close() 255 self.repo2.close()
256 256
257 def cancopy(self): 257 def cancopy(self):
258 return False 258 return False
259 259
260 def peer(self): 260 def peer(self, path=None):
261 return unionpeer(self) 261 return unionpeer(self, path=None)
262 262
263 def getcwd(self): 263 def getcwd(self):
264 return encoding.getcwd() # always outside the repo 264 return encoding.getcwd() # always outside the repo
265 265
266 266