[SciPy-dev] SVN "corruption" / bzr-svn oddity?

David Cournapeau david@ar.media.kyoto-u.ac...
Thu Apr 16 03:35:45 CDT 2009


Pauli Virtanen wrote:
>
> Yes, if you know to look for it. But in Git it was obvious what happened, 
> since its data model is simpler, so I looked first at it :)
>   

Oh, yes, definitely :) I felt safer to check that svn reported this as
well, though.

>
> Does
>
> 	svn rm file:///.../yo/trunk
> 	svn cp file:///.../yo/trunk@5660 file:///.../yo/trunk
>
> work then?
>   

I guess it would, but I am afraid it would horribly break the whole
history (the file ids would be different).

> I'd rather try to restore the trunk tree to 5660 and commit on top of 
> that; otherwise you can't do
>
> 	svn diff -r 5660:5661 test_basic.py
>
> since SVN thinks 5660 lives in a different directory than 5661 although 
> the directories have the same name...
>   

Rewriting/restoring the repository is technically better, because we can
erase the error, and it is guaranteed it won't break any history-related
features in svn. But I don't know what it means for people who have
checked out revision 5661 before the rewriting, which worries me a bit.
Maybe that's not very important.

> Who said SVN is simple :)
>   

:)

David



More information about the Scipy-dev mailing list