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

Re: Problems with hardlinks

From: Matthias Schniedermeyer <matthias.schniedermeyer_at_mediaways.net>
Date: 2002-10-07 16:24:31 CEST

Ben Collins-Sussman wrote:
> Matthias Schniedermeyer <matthias.schniedermeyer@mediaways.net> writes:
>
>
>>- cut -
>>cp -al <rep-dir> <rep-dir-copy> # Copy all files using hard-links
>>cd <rep-dir>
>>svn up
>>cd ..
>>diff -Nur --exclude=.svn <rep-dir-copy> <rep-dir>
>>- cut -
>>
>>failes to see any differences. Seems linke the file(s) (is/are)
>>overridden instead of replaced. (The "new"-file(s) (has/have) the
>>same inode as the "old"-file(s).) CVS does this right(tm), it
>>creates (a) new file(s) when you update/checkout from the
>>repository.
>>
>>In my eyes this is a serious flaw.
>
>
> If a file has changed on the server, svn simply applies a patch to the
> working copy file, in-place, using diff3. That's how it preserves
> local modifications. I guess we could make this more complex... make
> a tmp copy of the working file, patch it, delete the original, copy
> the tmp file back?

I think thats how cvs does it.

It would break the hardlinks and i would be happy. :-))

-- 
      Matthias Schniedermeyer                    mediaWays GmbH
         System Development                 http://www.mediaways.net
     mailto:citd@mediaways.net        voice: +49 5246 80 - 1768 fax: - 2768
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Oct 8 10:16:22 2002

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.