[jira] [Closed] (SVN-4760) Missing children when svnadmin dump --include/exclude converts copy-dir to add-dir
"Daniel Sahlberg (Jira)" <[email protected]> Thu, 5 Oct 2023 08:21:00 +0000 (UTC)
| Newsgroups | gmane.comp.version-control.subversion.issues |
|---|---|
| Message-ID | <[email protected]> |
[ https://issues.apache.org/jira/browse/SVN-4760?page=3Dcom.atlassian.=
jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Sahlberg closed SVN-4760.
--------------------------------
> Missing children when svnadmin dump --include/exclude converts copy-dir t=
o add-dir
> -------------------------------------------------------------------------=
---------
>
> 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=C2=A0'{{\-\-include}}' and '{{\-\-exclude}}' opti=
ons on '{{svnadmin dump}}'=C2=A0 ,=C2=A0 I found that if I copy a non-inclu=
de file, the=C2=A0 dump result is to add a file with file content; But if t=
he 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 th=
e files under the=C2=A0directory .
> =C2=A0
> {noformat}
> [root@RD-230 subversion]# svnadmin dump /data1/svnroot/Dev --incremental =
-r 13386 --include "/CM Action/Tools" > /tmp/test.dmp
> * =E5=B7=B2=E8=BD=AC=E5=AD=98=E7=89=88=E6=9C=AC 13386=E3=80=82
> [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}
> =C2=A0
> 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
(v8.20.10#820010)