Comments
Patch
@@ -175,7 +175,7 @@
> EOF
$ hg paths
- (paths.default:pushurl not a URL; ignoring)
+ (paths.default:pushurl not a URL; ignoring: "/not/a/url")
default = /path/to/nothing
#fragment is not allowed in :pushurl
@@ -740,7 +740,9 @@
u = url(value)
# Actually require a URL.
if not u.scheme:
- ui.warn(_(b'(paths.%s:pushurl not a URL; ignoring)\n') % path.name)
+ msg = _(b'(paths.%s:pushurl not a URL; ignoring: "%s")\n')
+ msg %= (path.name, value)
+ ui.warn(msg)
return None
# Don't support the #foo syntax in the push URL to declare branch to