job000115

norman_morse (Norman Morse)
Norman Morse created this job , modified by Paul Allen
Closed
SVN conversion misses deleted file.

This SVN dump is converted from CVS using cvs2svn but appears to be valid.

The SVN dump has history  like this:

<<< Started new transaction, based on original revision 1
     * adding path : trunk ... done.
     * adding path : branches ... done.
     * adding path : tags ... done.

------- Committed revision 1 >>>

<<< Started new transaction, based on original revision 2
     * adding path : trunk/folderA ... done.
     * adding path : trunk/folderA/fileA1.txt ... done.
     * adding path : trunk/folderA/fileA2.txt ... done.
     * adding path : trunk/folderB ... done.
     * adding path : trunk/folderB/fileB1.c ... done.

------- Committed revision 2 >>>

<<< Started new transaction, based on original revision 3
     * adding path : trunk/folderC ... done.
     * adding path : trunk/folderC/fileC1.txt ... done.

------- Committed revision 3 >>>

<<< Started new transaction, based on original revision 4
     * editing path : trunk/folderC/fileC1.txt ... done.

------- Committed revision 4 >>>

<<< Started new transaction, based on original revision 5
     * deleting path : trunk/folderC/fileC1.txt ... done.
     * deleting path : trunk/folderC ... done.

------- Committed revision 5 >>>

<<< Started new transaction, based on original revision 6
     * adding path : trunk/folderD ... done.
     * adding path : trunk/folderD/fileD1.txt ... done.

------- Committed revision 6 >>>

Notice the delete in revision 5.

The generated Perforce repository (IMPORT MODE) shows:

$ p4 changes
Change 6 on 2014/11/24 by dmarold@svn-client 'add fileD (copy of fileC) '
Change 4 on 2014/11/24 by dmarold@svn-client 'added data '
Change 3 on 2014/11/24 by dmarold@svn-client 'Added fileC '
Change 2 on 2014/11/24 by dmarold@svn-client 'import test files '

Notice that change 5 is totally missing, and the intended files were never deleted.

I have debug level conversion logs and the original dump on ftp
ftp upload.perforce.com

Username: support-cahp4
Password: leemoofaet

Uploaded conversion.log, log.txt, svntest.cfg, test.dump

This bug was also reproduced on  //depot/main/p4convert-svn main release
11109SVN: Import mode - avoid reverting a pending delete on a file revision if followed by a remove dir action.
  • Details
  • Comments -
Status
Closed
Project
perforce-software-p4convert
Severity
B
Reported By
Norman Morse
Reported Date
Modified By
Paul Allen
Modified Date