RE: Issue with order of svn:mergeinfo revision ranges vs. svnmerge-migrate-history.py..
From: Gunter Woytowitz <gunter.woytowitz_at_jdsu.com>
Date: Fri, 23 Jan 2009 12:22:07 -0800
Paul,
Your suspicion is correct, there was a "broken" history, here's a snippet from the logs where the copy occurred.
----------------------------------------------------
The branch was accidentally deleted, and then restored a few revs later.
The svnmerge-integrated property before running the script was
I'm not sure you understood my question about error checking of svn:mergeinfo on commits and the svnmerge-migrate-history.py script, so I'll try to restate it.
My general thought is that there should be no way for the migrate script to commit an invalid svn:mergeinfo property to the repository. I expect there to be bugs in 3rd party scripts, especially with a new complex feature, but I also expect the subversion code should be a bit more robust and protect itself from this by blocking any commits that contain invalid svn:mergeinfo properties. It seems like there is a lot of error checking of the svn:mergeinfo property when "reading" the data (ie. the errors I'm seeing), but not when the property was "written" to the repository. Are there svn:mergeinfo property checks in the subversion code on commits? If yes, how did the migrate script bypass them? If no, then the checks should be added.
Thanks,
-----Original Message-----
On Fri, Jan 23, 2009 at 1:33 PM, Gunter Woytowitz
Gunter,
That's good news in the sense that it keeps the problem in the
> I have just copied the one line of svn:mergeinfo that was corrupted.
For now just two questions:
Do you have any broken history in the path with the range-overlapping
What was the value of the svnmerge-integrated property on the path
> but the short term need is to relax the error checking to allow unordered/overlapping versions on reads of svn:mergeinfo data.
I will look into this today. It's not quite as straight forward as
> BTW, I'm still not clear how a corrupted svn:mergeinfo property can be committed. Does the svnmerge-migrate-history.py script bypass these checks somehow?
It was possible due to a bug in the scripts that was recently fixed:
http://svn.collab.net/viewvc/svn?view=revision&revision=35358
I'm not sure if the svnmerge/svnmerge-migrate-history*.py scripts can
Paul
>
------------------------------------------------------
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
|
This is an archived mail posted to the Subversion Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.