# HG changeset patch # User Thomas Arendsen Hein # Date 1183108416 -7200 # Node ID 1da35d1e7ef91464597e7c250b8dda0b12cc4e6b # Parent c41a404ac38703113f0a759d4a0e1d7b088a350d 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. diff --git a/mercurial/httprepo.py b/mercurial/httprepo.py --- a/mercurial/httprepo.py +++ b/mercurial/httprepo.py @@ -288,6 +288,7 @@ class httprepository(remoterepository): 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)