[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

re: svn cat broken by folder rename in repository

From: Simon Large <slarge_at_blazepoint.co.uk>
Date: 2004-08-27 13:14:33 CEST

Ulrich Eckhardt wrote:
> If you rename from 'Foo' to 'Bar' at revision X, revisions < X don't
> contain a 'Bar', which is why you can't 'svn cat' it.
> People are aware of this fact, but this is not easy to do right, as the
> same path within a repository could have been populated by
> different items throughout the history, at least I think that was the

That means I can't access the historical data. Data may not be physically
lost, but if I can't access it then it is as good as lost. The only hope of
retrieving it is if future versions of SVN manage to find a solution to this
tricky problem. Or maybe doing a dump and unscrambling by hand - don't like
that idea much!

The test was not done on real data, so I have not lost anything yet. But
while SVN has no solution to the access problems then it might be safer to
disallow a name change on a folder which already contains files (or maybe
require a --force) .

> > Using TSVN 1.1.0 RC1, which is built on SVN 1.1.0 RC2.
> That's not specific to TSVN, but a feature of SVN.

I know. That's why I transferred the query to the SVN list ;-)


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Aug 27 13:14:03 2004

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.