populate dir: reduce noise in error message
This commit is contained in:
parent
acb53c23dc
commit
9cb1fdc946
@ -216,16 +216,13 @@ let out = {
|
|||||||
--delete-excluded \
|
--delete-excluded \
|
||||||
-vrLptgoD \
|
-vrLptgoD \
|
||||||
${config.path}/ \
|
${config.path}/ \
|
||||||
${target-url}
|
root@${target}:${config.target-path}
|
||||||
'';
|
'';
|
||||||
current-url = "${current-user-name}@${current-host.name}";
|
|
||||||
source-url = "file://${config.host.name}${config.path}";
|
|
||||||
target-url = "root@${target}:${config.target-path}";
|
|
||||||
in
|
in
|
||||||
if can-push then push-method else
|
if can-push then push-method else
|
||||||
throw
|
let dir = "file://${config.host.name}${config.path}"; in
|
||||||
# /!\ revise this message when using more than just push-method
|
# /!\ revise this message when using more than just push-method
|
||||||
"No way to push ${source-url} from ${current-url} to ${target-url}";
|
throw "No way to push ${dir} from ${current-host.name} to ${target}";
|
||||||
|
|
||||||
methods.git = config:
|
methods.git = config:
|
||||||
rootssh target ''
|
rootssh target ''
|
||||||
|
Loading…
Reference in New Issue
Block a user