author | Idan Kamara <idankk86@gmail.com> |
Tue, 05 Jul 2011 14:28:55 +0300 | |
changeset 14839 | 510c893a726f |
parent 14838 | 5d261fd00446 |
child 14840 | 11b5a5d2ca8b |
mercurial/hg.py | file | annotate | diff | comparison | revisions |
--- 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):