-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Monday 02 August 2010 11:15 PM, vijayaguru wrote:
> Hi,
>
> This is the follow up of issue reported in [1] . Export with
> --native-eol option did not work with externals before. Bert fixed it in
> r966747.It works fine for directory externals. But file externals are
> facing the issue mentioned in the link.
>
> Herewith attached the script that reproduces the problem.
>
> [1] - http://svn.haxx.se/dev/archive-2010-07/0427.shtml
>
>
>
Attached herewith is the patch to resolve the above issue.
[[[
Log:
Export with `--native-eol' doesn't work for now unlike directory
externals.
* 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 <[email protected]>
Patch by: Kannan R <[email protected]>
]]]
- --
Thanks & Regards,
Kannan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQEcBAEBAgAGBQJMVzLtAAoJELQAaYkQr+e71l4H/2MxRCXkpWC49y/es6aZPOBz
TOZbMzkQBjWJmFJq+uXyN+Gyw2KC2QHXQhuGjTs+V6INNHUMHcN5sJjQWMf8ENqv
Nn5ASXAWOmJnv4K+DAv6kN5CDjHEH2Of0lAVxK7OvZtJKYNQsTaJY9+BfUOiy9at
LRxnQJ4v4218qjCZzp3VzPFKEXjZUQZukd1W8mUrjx4Y/CqIYXzYcaO1NWakEWMr
0u9EQnh43eB35rVWMlTSax+BEMj9zqOiXSJGM6qQtp5jwV6aZYU9qpg47RZNwtsA
YD4bVbqsiwNEvaFnszG5GH0zpL+jqkG0eYusiWzvIVp7ZdQK5D/bsTbOt6d+hlQ=
=uy0V
-----END PGP SIGNATURE-----
Index: subversion/libsvn_client/externals.c
===================================================================
--- subversion/libsvn_client/externals.c (revision 981659)
+++ subversion/libsvn_client/externals.c (working copy)
@@ -877,7 +877,8 @@
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,