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

Re: another ignore question

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Fri, 28 Nov 2008 20:22:12 +0100

php.baker wrote:
> I know this question has been asked numerous times, but I cant find
> any helpful answers....
>
> I have the following dir structure:
> -app
> --dir1
> --dir2
> --tmp
> ---cache
> ----views
> ----persistent
> ----models
> ---logs
> ---sessions
> ---tests
> --dir3

Is the --tmp folder versioned? If not, right-click on that folder,
choose "ignore" from the TSVN submenu.
That will set the svn:ignore property for that folder.

> I want to ignore all files in in my tmp directory and in tmp sub
> folders, but still keep the folders intact. I have tried the following
> pattern as well as various derivatives that involved adding and
> removing forward slashes and asterisks, but nothing seems to have ANY
> affect.
>
> Global ignore pattern:
> *tmp/cache/models* *tmp/cache/persistent* *tmp/cache/views* *tmp/logs*
> *tmp/sessions* *tmp/tests* *empty

Windows uses backward slashes, so your forward slashes won't work.

If you want to ignore everything below \tmp, just use
\tmp* \tmp\*
as the ignore pattern.

Stefan

-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.net

Received on 2008-11-28 20:22:34 CET

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

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