Mercurial > hg
comparison mercurial/hgweb/common.py @ 22223:c39d404f0eb0
hgweb: refresh repository using URL not path (issue4323)
hgweb detects out-of-date repository instances (using a highly
suspect mechanism that should probably be fixed) and obtains a new
repository object if needed.
This patch changes the repository object copy to use the repo URL
(instead of path). This preserves more information about the source
repository and allows bundles to be served through hgweb.
A test verifying that bundles can now be served properly via
`hg serve` has been added.
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Mon, 18 Aug 2014 12:12:57 -0700 |
parents | d51c4d85ec23 |
children | a111e460318a |
comparison
equal
deleted
inserted
replaced
22222:883e8b6bd461 | 22223:c39d404f0eb0 |
---|