Show More
@@ -4903,7 +4903,7 b' def outgoing(ui, repo, dest=None, **opts' | |||||
4903 | # style URLs, so don't overwrite dest. |
|
4903 | # style URLs, so don't overwrite dest. | |
4904 | path = ui.paths.getpath(dest, default=(b'default-push', b'default')) |
|
4904 | path = ui.paths.getpath(dest, default=(b'default-push', b'default')) | |
4905 | if not path: |
|
4905 | if not path: | |
4906 |
raise error. |
|
4906 | raise error.ConfigError( | |
4907 | _(b'default repository not configured!'), |
|
4907 | _(b'default repository not configured!'), | |
4908 | hint=_(b"see 'hg help config.paths'"), |
|
4908 | hint=_(b"see 'hg help config.paths'"), | |
4909 | ) |
|
4909 | ) | |
@@ -5524,7 +5524,7 b' def push(ui, repo, dest=None, **opts):' | |||||
5524 |
|
5524 | |||
5525 | path = ui.paths.getpath(dest, default=(b'default-push', b'default')) |
|
5525 | path = ui.paths.getpath(dest, default=(b'default-push', b'default')) | |
5526 | if not path: |
|
5526 | if not path: | |
5527 |
raise error. |
|
5527 | raise error.ConfigError( | |
5528 | _(b'default repository not configured!'), |
|
5528 | _(b'default repository not configured!'), | |
5529 | hint=_(b"see 'hg help config.paths'"), |
|
5529 | hint=_(b"see 'hg help config.paths'"), | |
5530 | ) |
|
5530 | ) |
@@ -20,7 +20,7 b" Push should provide a hint when both 'de" | |||||
20 | $ hg push --config paths.default= |
|
20 | $ hg push --config paths.default= | |
21 | abort: default repository not configured! |
|
21 | abort: default repository not configured! | |
22 | (see 'hg help config.paths') |
|
22 | (see 'hg help config.paths') | |
23 |
[ |
|
23 | [30] | |
24 |
|
24 | |||
25 | $ cd .. |
|
25 | $ cd .. | |
26 |
|
26 |
General Comments 0
You need to be logged in to leave comments.
Login now