[jira] [Assigned] (SVN-4760) a issue of --include' and '--exclude' options on 'svnadmin dump'

"Julian Foad (JIRA)" <[email protected]>
Newsgroups gmane.comp.version-control.subversion.issues
Message-ID <[email protected]>
     [ https://issues.apache.org/jira/browse/SVN-4760?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Julian Foad reassigned SVN-4760:
--------------------------------

    Assignee: Julian Foad

> a issue of --include' and '--exclude' options on 'svnadmin dump' 
> -----------------------------------------------------------------
>
>                 Key: SVN-4760
>                 URL: https://issues.apache.org/jira/browse/SVN-4760
>             Project: Subversion
>          Issue Type: Bug
>          Components: libsvn_repos
>    Affects Versions: 1.10.0
>         Environment: CentOS 6.5
>            Reporter: Nathan.qian
>            Assignee: Julian Foad
>            Priority: Major
>         Attachments: image-2018-07-04-13-07-26-602.png
>
>
> During I am testing the '{{\-\-include}}' and '{{\-\-exclude}}' options on '{{svnadmin dump}}'  ,  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 .
>  
> {noformat}
> [root@RD-230 subversion]# svnadmin dump /data1/svnroot/Dev --incremental -r 13386 --include "/CM Action/Tools" > /tmp/test.dmp
>  * 已转存版本 13386。
> [root@RD-230 subversion]# cat /tmp/test.dmp
>  SVN-fs-dump-format-version: 2UUID: 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
> {noformat}
>  
> In fact, the copy directory has many files. But the dump file is only add a new dir.
> !image-2018-07-04-13-07-26-602.png!



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.