You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Andreas Schweigstill <an...@schweigstill.de> on 2007/05/11 09:58:29 UTC

Re: Way to minimize number of svn files on a hardrive? - compress; links

Hello!

MikeW schrieb:
> (e.g. "Use link if working copy not modified")

That causes a hen and egg problem. WC file modifications are made by
other applications, e.g. text editor, and not by Subversion. When using
a link Subversion has no chance to compare what has been modified. Only
a timestamp and possibly a hash value of the last known file status
could be preserved (and stored in lots of small files...).

If the link directly points to the working copy file it will never be
detected as being modified because that is the concept of links. The
behaviour of hard links depends on how the file is accessed:
1. directly modify old file
2. rename old file, copy it to the original location, modify it
3. overwrite old file without keeping the original one

Regards
Andreas Schweigstill

-- 
Dipl.-Phys. Andreas Schweigstill
Schweigstill IT | Embedded Systems
Schauenburgerstraße 116, D-24118 Kiel, Germany
Phone: (+49) 431 5606-435, Fax: (+49) 431 5606-436
Mobile: (+49) 171 6921973, Web: http://www.schweigstill.de/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org