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

Re: [TSVN] TortoiseSVN - FAQ

From: Peter Löfgren <list_at_loftux.se>
Date: 2005-04-12 11:25:35 CEST

GX wrote:
> User: GX, mailto:mailme_gx@hotmail.com
> Categories: English
>
> I wanted to know how embedded the .svn directory is in the code. i.e
> could it not rather be a parameter option to use .svn or _svn or !svn
> etc?
> The problem I am facing is that at work we use the _svn version and at
> home I use the .svn version.
> When I was browsing one of my (personal) projects at work I needed to
> also check something from the repository so I renamed .svn to _svn
> *BIG* mistake because now I cannot rename it back to .svn (windows does
> not allow you).
> Im sure if I really wanted to I could I could write a small app to do
> this (switch folder name from _svn to .svn and vica versa) but in my
> opinion it would be better if the client had the option to specify
> possible folder names.
>
Here you have a small bat file
(that I got from the subversion mailing list some time ago)

@ECHO OFF
FOR /R %%f IN (_svn) DO IF EXIST "%%f" (
ATTRIB -h "%%f"
RENAME "%%f" .svn
)
ATTRIB +H .svn /S /D

/Peter Löfgren

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Tue Apr 12 11:26:00 2005

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.