You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@subversion.apache.org by "haiyuan qian (Jira)" <ji...@apache.org> on 2020/03/21 05:56:00 UTC
[jira] [Updated] (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:all-tabpanel ]
haiyuan qian updated SVN-4849:
------------------------------
Description:
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.
was:
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.
> 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)