##// END OF EJS Templates
peer: change arg name to convey it can be a repo as well
Idan Kamara -
r14839:510c893a default
parent child Browse files
Show More
@@ -98,9 +98,9 b" def repository(ui, path='', create=False"
98 hook(ui, repo)
98 hook(ui, repo)
99 return repo
99 return repo
100
100
101 def peer(ui, opts, path, create=False):
101 def peer(uiorrepo, opts, path, create=False):
102 '''return a repository peer for the specified path'''
102 '''return a repository peer for the specified path'''
103 rui = remoteui(ui, opts)
103 rui = remoteui(uiorrepo, opts)
104 return repository(rui, path, create)
104 return repository(rui, path, create)
105
105
106 def defaultdest(source):
106 def defaultdest(source):
General Comments 0
You need to be logged in to leave comments. Login now