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

Re: checksumming crap

From: <ghudson_at_MIT.EDU>
Date: 2003-01-25 18:40:08 CET

On Sat, 2003-01-25 at 12:26, solo turn wrote:
 but the .svn can be recreated. and the wc can be fixed by merging in
 the changes if something is there, or by just recreating the

Uh, no. You can't merge in the changes without a base revision. For

% svn co -r 100 url foo
% cd foo
% svn cat -r 50 bar bar
% dd if=/dev/random of=.svn/entries bs=1k count=10
% svn update bar

How is Subversion supposed to know what to do here? The right answer is
to merge the differences between rev 100 and rev HEAD of bar into the
current contents (which are the contents of rev 50), but you've taken
away the knowledge that rev 100 is the starting point.

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 14 02:17:27 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.