6 years agoandreas_haferburg commented on job000599 for | ||
1 comment | ||
6 years agoandreas_haferburg edited a comment on job000624 for I debugged this a bit, but I still don't understand it. I enabled logging with ...I debugged this a bit, but I still don't understand it. I enabled logging with
And all the paths printed are correct.
I even used a file change watcher to monitor the working copy, and when p4convert creates files locally from the SVN dump, the file paths are still correct. These files are then added by p4java, and committed. So I suspect the bug is in p4java or p4d. « | ||
6 years agoandreas_haferburg edited a comment on job000624 for I debugged this a bit, but I still don't understand it. I enabled logging with
I debugged this a bit, but I still don't understand it. I enabled logging with
And all the paths printed are correct.
I even used a file change watcher to monitor the working copy, and when p4convert creates files locally from the SVN dump, the file paths are still correct. These files are then added by p4java, and committed. So I suspect the bug is in p4java or p4d. « | ||
6 years agoandreas_haferburg commented on job000624 for I debugged this a bit, but I still don't understand it. I enabled logging with ...I debugged this a bit, but I still don't understand it. I enabled logging with
And all the paths printed are correct.
I even used a file change watcher to monitor the working copy, and when p4convert creates files locally from the SVN dump, the file paths are still correct. These files are then added by p4java, and committed. So I suspect the bug is in p4java or p4d. « | ||
6 years agoandreas_haferburg liked a comment on job000743 for It's true that the case changed (didn't even notice), but I don't think that's what's causing the issue. In SvnProcessChange.processChange(), p4conver ...It's true that the case changed (didn't even notice), but I don't think that's what's causing the issue. In SvnProcessChange.processChange(), p4convert processes files in the order they are listed in the dump. Unfortunately, SVN lists the add (copy) record before the delete. I found a small Python library for reading and writing SVN dumps at https://github.com/zeha/py-svndump I used it to write the attached script. It reads a dump, reorders the records for each revision such that the deletes come before any other node. This fixes the problems in 10661 and 10691. Currently waiting for confirmation on 22199. I don't understand why this happened on Linux, though. « | ||
6 years agoandreas_haferburg commented on job000743 for Well. The change in case might be the reason why the records are in that particular order, though. | ||
6 years agoandreas_haferburg commented on job000743 for It's true that the case changed (didn't even notice), but I don't think that's what's causing the issue. In SvnProcessChange.processChange(), p4conver ...It's true that the case changed (didn't even notice), but I don't think that's what's causing the issue. In SvnProcessChange.processChange(), p4convert processes files in the order they are listed in the dump. Unfortunately, SVN lists the add (copy) record before the delete. I found a small Python library for reading and writing SVN dumps at https://github.com/zeha/py-svndump I used it to write the attached script. It reads a dump, reorders the records for each revision such that the deletes come before any other node. This fixes the problems in 10661 and 10691. Currently waiting for confirmation on 22199. I don't understand why this happened on Linux, though. « | ||
6 years agoandreas_haferburg commented on job000743 for Oh, I see. Thank you for pointing that out. So the problem was actually in the conversion of 10661. In this commit, /trunk/NeuroNavigation/Application ...Oh, I see. Thank you for pointing that out. So the problem was actually in the conversion of 10661. In this commit, /trunk/NeuroNavigation/Application/IO/AbstractScreencast.cpp is deleted, and is then added back as a copy of trunk/NeuroNavigation/Application/IO/AbstractScreenCast.cpp@10657. The problem is that p4convert applies these changes in the wrong order: Because it applies the branch/copy first, and the delete later, the result is that the file ends up missing on the Perforce server. On the plus side, the audit.log does have checksums for the missing files. « | ||
6 years agoandreas_haferburg commented on job000743 for Commit 10691 contains the following changes, according to Tortoise SVN: Deleted: /branches/_experimental/2012 NOVIS Refactoring/NeuroNavigation/Applic ...Commit 10691 contains the following changes, according to Tortoise SVN: Deleted: /branches/_experimental/2012 NOVIS Refactoring/NeuroNavigation/Application/IO/AbstractScreencast.cpp The file names may be the same, but the three paths are mutually different. I'm not sure what you mean by "referencing a deleted revision". At revision 10691, the history of /trunk/NeuroNavigation/Application/IO/AbstractScreencast.cpp says that this file was last changed at revision 10661. At 10670 it is not deleted. The SVN dump for 10691.2 contains the same info: | ||
Adjust when notifications are sent to you about reviews that you're associated with (as an author, reviewer, project member or moderator).