[ 
https://issues.apache.org/jira/browse/SVN-4729?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16532237#comment-16532237
 ] 

Nathan.qian commented on SVN-4729:
----------------------------------

Exciting features that make dump/load do more with less;

However, during I am testing,  I found that if I copy a non-include file, the  
dump result is to add a file with file content; But if the copy is a 
non-include directory, the dump only adds this directory.

I think, this may be wrong, it should be copy of the directory and all the 
files under the directory .

 

[root@RD-230 subversion]# svnadmin dump /data1/svnroot/Dev --incremental -r 
13386 --include "/CM Action/Tools" > /tmp/test.dmp
* 已转存版本 13386。
[root@HIK-RD-YFGL-230 subversion-1.10.0]# cat /tmp/test.dmp
SVN-fs-dump-format-version: 2

UUID: 313b818e-f7ce-944b-8d5d-4aca2895b6b9

Revision-number: 13386
Prop-content-length: 89
Content-length: 89

K 10
svn:author
V 11
qianhaiyuan
K 8
svn:date
V 27
2018-07-04T04:18:48.877124Z
PROPS-END

Node-path: CM Action/Tools/diffcount
Node-kind: dir
Node-action: add
Prop-content-length: 10
Content-length: 10

PROPS-END

 

In fact, the copy directory has many files. But the dump file is only add a new 
dir.

!image-2018-07-04-12-43-04-845.png!

> Add '--include' and '--exclude' options to 'svnadmin dump'
> ----------------------------------------------------------
>
>                 Key: SVN-4729
>                 URL: https://issues.apache.org/jira/browse/SVN-4729
>             Project: Subversion
>          Issue Type: Improvement
>          Components: svnadmin, svndumpfilter
>            Reporter: Julian Foad
>            Priority: Major
>             Fix For: 1.10.0
>
>         Attachments: image-2018-07-04-12-43-04-845.png, 
> svnadmin-dump-include-exclude-javahl-1.patch
>
>
> {{  svnadmin dump repos \-\-include|\-\-exclude /calc}}
> works similarly to
> {{  svndumpfilter include|exclude /calc}}
> but provides proper handling of 'copy from' paths.
> _Email thread on dev@, "Add '\-\-include' and '\-\-exclude' options to 
> 'svnadmin dump'", 2016-10-12, from Sergey Raevskiy 
> ([svn.haxx.se|https://svn.haxx.se/dev/archive-2016-10/0028.shtml], 
> [mail-archives.apache.org|http://mail-archives.apache.org/mod_mbox/subversion-dev/201610.mbox/%3CCAJrmsKbvV3TgoH0sGXiMRq%3DwgscUquOsQQmQkx43X44%2BCK%2B_AQ%40mail.gmail.com%3E])_



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to