Author: rhuijben
Date: Tue Aug 3 06:34:50 2010
New Revision: 981757
URL: http://svn.apache.org/viewvc?rev=981757&view=rev
Log:
Export with `--native-eol' doesn't work for file externals, while it
did for directory externals. This patch fixes that.
* subversion/libsvn_client/externals.c
(handle_external_item_change): Make the `--native-eol' work for
export of file externals by passing the argument obtained, missed
in r966747.
Found by: Vijayaguru G <vijay{_AT_}collab.net>
Patch by: Kannan R <kannanr{_AT_}collab.net>
Modified:
subversion/trunk/subversion/libsvn_client/externals.c
Modified: subversion/trunk/subversion/libsvn_client/externals.c
URL:
http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_client/externals.c?rev=981757&r1=981756&r2=981757&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_client/externals.c (original)
+++ subversion/trunk/subversion/libsvn_client/externals.c Tue Aug 3 06:34:50
2010
@@ -877,7 +877,8 @@ handle_external_item_change(const void *
SVN_ERR(svn_client_export4(NULL, new_item->url, local_abspath,
&(new_item->peg_revision),
&(new_item->revision),
- FALSE, TRUE, svn_depth_infinity, NULL,
+ FALSE, TRUE, svn_depth_infinity,
+ ib->native_eol,
ib->ctx, ib->iter_pool));
else
SVN_ERR(switch_file_external(local_abspath,