You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@subversion.apache.org by "Daniel Shahaf (Jira)" <ji...@apache.org> on 2020/03/21 17:15:00 UTC
[jira] [Commented] (SVN-4849) Svnadmin dump with include can not
dump the subdir into add when it's parent path was a branch
[ https://issues.apache.org/jira/browse/SVN-4849?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17063996#comment-17063996 ]
Daniel Shahaf commented on SVN-4849:
------------------------------------
The same patch (in unidiff form) was attached here: <https://mail-archives.apache.org/mod_mbox/subversion-users/202003.mbox/%3C3a2e390ec51c4a3c82a9755c20aa852d%40hikvision.com%3E>. It applies to trunk cleanly (offset, but no fuzz).
> Svnadmin dump with include can not dump the subdir into add when it's parent path was a branch
> ----------------------------------------------------------------------------------------------
>
> Key: SVN-4849
> URL: https://issues.apache.org/jira/browse/SVN-4849
> Project: Subversion
> Issue Type: Bug
> Components: svnadmin
> Affects Versions: 1.10.x
> Environment: CentOS 6.6 64bit
> Reporter: haiyuan qian
> Priority: Major
> Attachments: svnamdin.jpg
>
>
> Svnadmin dump with include can not dump the subdir into add when it's parent path was a branch:
> # 1、/A was copy from/XX , revision was 50, it the first revision of /A;
> # 2、There is a subdir named /A/subdir, and several files and dir under /A/subdir;
> # 3、Try to run “svnadmin dump /data/repos_root --include /A/subdir >a” . The expected dump file will include /A/subdir(revision 50) into add. But in fact there was nothing.
> # 4、I was try to fix this bug in the svnadmin.c , a function namedary_prefix_match. If the change list is the parent dir for include path, it return true. Then the dump file will include /A/subdir and it's subdir or subfile into add , but regrettably, the dump file will also include /A into add.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)