SVN仅导出文件夹文件

pre*_*sto 8 svn

我在存储库中有一个文件夹:

svn/Repo/trunk/Folder
Run Code Online (Sandbox Code Playgroud)

我想将所有文件导出Folder到本地目录:

C:\AnotherFolder
Run Code Online (Sandbox Code Playgroud)

如果我从存储库导出到本地文件夹,它会导出所有文件,包括父文件夹,所以我最终得到了结构:

C:\AnotherFolder\Folder\file1 
C:\AnotherFolder\Folder\file2 
etc
Run Code Online (Sandbox Code Playgroud)

如何在没有父目录的情况下导出?所以我得到类似的东西:

C:\AnotherFolder\file1 
C:\AnotherFolder\file2
Run Code Online (Sandbox Code Playgroud)

Bra*_*000 8

您应该可以使用以下SVN命令执行此操作:

svn export http://.../svn/Repo/trunk/Folder C:\AnotherFolder
Run Code Online (Sandbox Code Playgroud)

这也适用于AnotherFolder的相对路径,如下所示:

svn export http://.../svn/Repo/trunk/Folder AnotherFolder
Run Code Online (Sandbox Code Playgroud)