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

cvs2svn creates some branches/tags overinclusively

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • all
    • cvs2svn-1.0
    • tools
    • None

    Description

      Discovered while hand-verifying cvs2svn's conversion of
      test-data/main-cvsrepos/...
      
      If you run
      
         $ cd tools/cvs2svn
         $ rm -rf tmp
         $ mkdir tmp
         $ cd tmp
         $ ../cvs2svn.py --create -s r ../test-data/main-cvsrepos/
         $ svn ls --recursive -v \
            file://`pwd`/tmp/r/branches/B_FROM_INITIALS_BUT_ONE
      
      ...you will see that proj/sub1/subsubB/default is present, when it
      should not be (it is present on B_FROM_INITIALS, but the whole point
      of B_FROM_INITIALS_BUT_ONE is to not include that file :-) ).
      
      The same sort of problem happens even earlier in the conversion, in
      fact.  In revision 4, we copy 3:/trunk to /branches/vendorbranch/,
      then carve away every subdirectory except partial-prune/.  However, we
      fail to delete partial-prune/sub/first/, even though only
      partial-prune/permanent should be on the branch.  Nothing in
      partial-prune/sub/ has any symbolic names at all, in fact.  (Hmmm,
      could the problem have something to do with the fact that they're in
      the Attic?  I doubt it, given that this isn't true of
      proj/sub1/subsubB/default...)
      
      Anyway, see tools/cvs2svn/test-data/verification/commits for more details.
      
      This is the "hot" issue for cvs2svn right now; marking as P1.
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            kfogel Karl Fogel
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: