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

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

From: Andreas Schweigstill <andreas_at_schweigstill.de>
Date: 2007-05-11 11:58:29 CEST


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

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
Received on Fri May 11 11:59:12 2007

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.