Added full URL to debug output if something doesn't look like an http hg repo.
This way it is easier to debug problems with failing subcommands, like
changegroupsubset due to permission problems, when generally accessing
the repository works fine.
--- a/mercurial/httprepo.py Thu Jun 28 21:16:25 2007 -0700
+++ b/mercurial/httprepo.py Fri Jun 29 11:13:36 2007 +0200
@@ -288,6 +288,7 @@
if not (proto.startswith('application/mercurial-') or
proto.startswith('text/plain') or
proto.startswith('application/hg-changegroup')):
+ self.ui.debug(_("Requested URL: '%s'\n") % cu)
raise hg.RepoError(_("'%s' does not appear to be an hg repository")
% self._url)