Show More
@@ -742,7 +742,9 b' def pushurlpathoption(ui, path, value):' | |||||
742 | u = url(value) |
|
742 | u = url(value) | |
743 | # Actually require a URL. |
|
743 | # Actually require a URL. | |
744 | if not u.scheme: |
|
744 | if not u.scheme: | |
745 |
|
|
745 | msg = _(b'(paths.%s:pushurl not a URL; ignoring: "%s")\n') | |
|
746 | msg %= (path.name, value) | |||
|
747 | ui.warn(msg) | |||
746 | return None |
|
748 | return None | |
747 |
|
749 | |||
748 | # Don't support the #foo syntax in the push URL to declare branch to |
|
750 | # Don't support the #foo syntax in the push URL to declare branch to |
@@ -175,7 +175,7 b" unknown sub-options aren't displayed" | |||||
175 | > EOF |
|
175 | > EOF | |
176 |
|
176 | |||
177 | $ hg paths |
|
177 | $ hg paths | |
178 |
(paths.default:pushurl not a URL; |
|
178 | (paths.default:pushurl not a URL; ignoring: "/not/a/url") | |
179 | default = /path/to/nothing |
|
179 | default = /path/to/nothing | |
180 |
|
180 | |||
181 | #fragment is not allowed in :pushurl |
|
181 | #fragment is not allowed in :pushurl |
General Comments 0
You need to be logged in to leave comments.
Login now