Mercurial > hg
changeset 14839:510c893a726f
peer: change arg name to convey it can be a repo as well
author | Idan Kamara <idankk86@gmail.com> |
---|---|
date | Tue, 05 Jul 2011 14:28:55 +0300 |
parents | 5d261fd00446 |
children | 11b5a5d2ca8b |
files | mercurial/hg.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/hg.py Thu Jun 23 15:00:45 2011 -0500 +++ b/mercurial/hg.py Tue Jul 05 14:28:55 2011 +0300 @@ -98,9 +98,9 @@ hook(ui, repo) return repo -def peer(ui, opts, path, create=False): +def peer(uiorrepo, opts, path, create=False): '''return a repository peer for the specified path''' - rui = remoteui(ui, opts) + rui = remoteui(uiorrepo, opts) return repository(rui, path, create) def defaultdest(source):