Mercurial > public > mercurial-scm > hg
diff mercurial/commands.py @ 18828:b718999f2e0b
serve: pass on the repo instad of recreating it in hgweb
When we pass on the path to the repo, the repo is created in hgweb. But the
repo is already here, so pass it on.
author | Simon Heimberg <simohe@besonet.ch> |
---|---|
date | Thu, 21 Mar 2013 18:16:49 +0100 |
parents | 6793ae6e36dc |
children | cc741817a49e |
line wrap: on
line diff
--- a/mercurial/commands.py Thu Mar 21 18:16:48 2013 +0100 +++ b/mercurial/commands.py Thu Mar 21 18:16:49 2013 +0100 @@ -5091,7 +5091,7 @@ if not repo: raise error.RepoError(_("there is no Mercurial repository" " here (.hg not found)")) - o = repo.root + o = repo app = hgweb.hgweb(o, baseui=baseui)