[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Bug Report svn export

From: Stefan Sperling <stsp_at_elego.de>
Date: Fri, 20 Sep 2013 10:16:04 +0200

On Fri, Sep 20, 2013 at 08:31:26AM +0200, David Zhang wrote:
> Hello SVN Developers!
>
> I believe i have found a bug in the svn command line client.
>
> I am using Windows 7 OS with this svn client:
>
> D:\> svn --version
> svn, Version 1.8.3-SlikSvn-1.8.3-X64 (SlikSvn/1.8.3) X64
> übersetzt am Sep 4 2013, um 16:04:02 auf
> x86_64/x86-microsoft-windows6.1.7601
>
> When i run
>
> svn export path1 path2
>
> I am missing all external files. According to this post i found with
> google, externals should be part of the export:
>
> http://svn.haxx.se/users/archive-2004-09/0396.shtml
>
> Also there is an option to ignore externals. I do not use this option. So i
> expect the externals to be part of the export.
>
> I am using a new feature of svn:externals to specify not directories, but
> files directly. This is my svn:externals definition. The external files
> have been downloaded successfully on svn up:
>
> D:\> svn propget svn:externals myPath
> http://myHost/svn/xxxxx/xxx.java@5836 xxx.java
> http://myHost/svn/xxxxx/xxx.xml@5838 xxx.xml
>
> Do you agree this is a bug?
 
Yes, I agree. I can reproduce the problem when exporting
from a working copy. Can you please file an issue?

Note that file externals are exported when the source of the
export is a URL. Perhaps you can use that as a workaround
for the time being: svn export URL path
Received on 2013-09-20 10:16:47 CEST

This is an archived mail posted to the Subversion Dev mailing list.