Mercurial > hg
changeset 14737:b39ed8c8e5e5 stable
call reposetup for repositories returned from peer (issue2864)
Extension setup functions were not being called when repositories were
obtained using the peer function instead of the repository function.
author | David Golub |
---|---|
date | Fri, 24 Jun 2011 11:39:12 -0400 |
parents | 65f8f98aa924 |
children | bcc1a9fd0b8c |
files | mercurial/hg.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/hg.py Sat Jun 25 01:55:16 2011 +0200 +++ b/mercurial/hg.py Fri Jun 24 11:39:12 2011 -0400 @@ -101,7 +101,7 @@ def peer(ui, opts, path, create=False): '''return a repository peer for the specified path''' rui = remoteui(ui, opts) - return _peerlookup(path).instance(rui, path, create) + return repository(rui, path, create) def defaultdest(source): '''return default destination of clone if none is given'''