Uploaded image for project: 'Subversion'
  1. Subversion
  2. SVN-4849

Svnadmin dump with include can not dump the subdir into add when it's parent path was a branch

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.10.x
    • None
    • svnadmin
    • None
    • CentOS 6.6 64bit

    Description

      Svnadmin dump with include can not dump the subdir into add when it's parent path was a branch:

      1. 1、/A was copy from/XX , revision was 50, it the first revision of /A;
      2. 2、There is a subdir named /A/subdir, and several files and dir under /A/subdir;
      3. 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. 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. 

      Attachments

        1. svnamdin.jpg
          53 kB
          Nathan Qian

        Activity

          People

            Unassigned Unassigned
            haiyuan Nathan Qian
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: