summaryrefslogtreecommitdiff
path: root/subversion/svn/export-cmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'subversion/svn/export-cmd.c')
-rw-r--r--subversion/svn/export-cmd.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/subversion/svn/export-cmd.c b/subversion/svn/export-cmd.c
index c4c4aa4..75b6723 100644
--- a/subversion/svn/export-cmd.c
+++ b/subversion/svn/export-cmd.c
@@ -114,9 +114,15 @@ svn_cl__export(apr_getopt_t *os,
"the directory or use --force to overwrite"));
if (nwb.had_externals_error)
- return svn_error_create(SVN_ERR_CL_ERROR_PROCESSING_EXTERNALS, NULL,
- _("Failure occurred processing one or more "
- "externals definitions"));
+ {
+ svn_error_t *externals_err;
+
+ externals_err = svn_error_create(SVN_ERR_CL_ERROR_PROCESSING_EXTERNALS,
+ NULL,
+ _("Failure occurred processing one or "
+ "more externals definitions"));
+ return svn_error_compose_create(externals_err, err);
+ }
return svn_error_trace(err);
}