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

Re: [BUG] The client can't use a different directory than .svn

From: Branko Čibej <brane_at_xbc.nu>
Date: 2003-12-09 20:24:36 CET

Lübbe Onken wrote:

> The real reason is, that unix doesn't have a proper hidden attribute
> and using '.' is a workaround for a missing os feature on unix.

Please stop calling hidden attributes a "missing OS feature".

    * The attribute is not an OS feature, it's a filesystem feature
    * Hiding folders is a feature of the user interface, (again) not the OS.

I've had to explain the difference between the OS, the filesystem and
the myriad different user interfaces so many times it's not even funny
any more.

> That some Windows application do not like .svn as a foldername is also
> something not-good(tm)

Yes -- those applications are broken. All Windows applications should be
able to handle at least the set of file names you can create with the
command line tool.

> I'd suggest, that SVN_WC_ADM_DIR_NAME = "svn" on every OS, but upon
> creation/access of SVN_WC_ADM_DIR_NAME, this is passed through a
> routine, which handles the os specific stuff like
> - prepending a '.' on *nixes,
> - not prepending anything or '_' on *dows
> - setting the hidden attribute on *dows upon creation
> - and so on.

This is a wonderful suggestion (not very original, but never mind that),
but IMHO we shold not implement something like this in 1.0 if we want
1.0 early next year. There are way too many places in libsvn_wc that
would have to change.

It would also break our WC portability mini-feature (not sure how
interesting that is, though)

> I think that projects like Subversion cannot afford a zero tolerance
> policy towards bugs on other OS's.

(Again, the bug is not in the OS, nor is it in the filesystem -- it's in
MS applications.)

> If Mode A doesn't work on one OS and Mode B doesn't work on a
> different OS there have to be two Modes for different OSs.

It does work on both OSs...it does work on both OSs...it does work on
both OSs...etc. ad nauseam.

(On the other hand, it's a pity we didn't notice this ASP.NET/IIS
brokenness a year ago)

Brane Čibej   <brane_at_xbc.nu>   http://www.xbc.nu/brane/
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Dec 9 20:25:26 2003

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.