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

Re: using NTFS ADS, HFS+ ResourceForks or other file system metadata facility instead of a .svn directory

From: Peter Samuelson <peter_at_p12n.org>
Date: 2006-02-13 09:28:41 CET

[Ruediger.Dohna@oxaion.de]
> Many tools seem to silently overwrite the ADS of a file, including
> Cygwin ">" and many editors, e.g. EditPad and Eclipse :-(... but not
> NoteTab and that often scolded Notepad. I'm not shure if they
> (esp. Cygwin stdout redirect) all use temp files or if this is a
> Windows "feature".

Any app which overwrites the original file, rather than create a new
one and rename it, makes me nervous. They are leaving a window of
opportunity for the app or the OS to crash, or the power to fail, where
the old data is gone but the new data is not all there yet.

Emacs has a third mode for saving: copy the old content to a temp file,
then overwrite the original file, then delete the temp file. I don't
use it (the traditional "create new, delete old, rename new" fits my
workflow much better), but it's there.

Back on topic, I think putting .svn/{text-base,prop-base,props}/* into
new streams inside each WC file is an interesting idea - but the lack
of administrative tools on Windows that can let someone view and manage
this extra "invisible" disk usage is a big concern. OTOH, Windows
admins are already resigned to the reality of either finding
third-party tools or using really clunky ones (doing anything creative
with ACLs, with only the Windows default toolset, quickly becomes quite
unwieldy).

Received on Mon Feb 13 09:29:31 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.