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

Re: directory named "_svn" is ignored

From: Lars Kruse <lists_at_sumpfralle.de>
Date: 2007-11-16 10:47:56 CET

Hi,

> It seems to me, as if svn would be guessing, that the parent directory is
> meant, in case someone accesses directories called ".svn" or "_svn".
> I do not expect a command line client to do this kind of guessing.

the topic seems to get lost right now, so I would like to clarify it a bit:

The misbehaviour, that I noticed does not involve the SVN_ASP_DOT_NET_HACK.

I think, that the subversion command line client should:
 (1) first check, if the directory specified by the user is valid (= a working
     copy)
 (2) afterwards (maybe) guess if the user actually meant something else and try
     this alternative option

For now the svn CLI guesses, that any directory name ending in some magic
strings (in this case: ".svn" or "_svn") must be a mistake of the user - thus
just skipping step (1).

yes - my naming convention ("_svn") for local copies is rare, but it took me
some time and energy to find the cause of my problem, since I trusted in the
reliability of the svn client. Thus I could not imagine, that the following two
lines could make a difference:
 svn up SOMEDIR
 (cd SOMEDIR; svn up)
(the latter always works - the first breaks for the mentioned special strings)

thanks for your time,
Lars

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Nov 16 10:48:16 2007

This is an archived mail posted to the Subversion Dev mailing list.