mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-10 07:18:27 +01:00
Merge pull request #2941 from efiop/2559
run: provide a hint if we get output duplication error
This commit is contained in:
+2
-1
@@ -47,7 +47,8 @@ class OutputDuplicationError(DvcException):
|
||||
)
|
||||
msg = (
|
||||
"file/directory '{}' is specified as an output in more than one "
|
||||
"stage: {}"
|
||||
"stage: {}\n"
|
||||
"This is not allowed. Consider using a different output name."
|
||||
).format(output, "\n ".join(stages))
|
||||
super(OutputDuplicationError, self).__init__(msg)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user