haiyuan qian created SVN-4849:
---------------------------------
Summary: 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
Attachments: svnamdin.jpg
Svnadmin dump with include can not dump the subdir into add when it's parent
path was a branch:
# /A was copy from/XX , revision was 50, it the first revison of /A;
# There is a subdir named /A/subdir, and several files and dir under /A/subdir;
# Try to run “svnadmin dump /data/repos_root --include /A/subdir >a” . The
expected dump file will include /A/subdir(revision 50) with the file copied
from /XX/subdir into add. But in fact therer was nothing.
# I was try to fix this bug in the svnadmin.c , a funcation named
ary_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)