[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: php.baker <php.baker_at_gmail.com>
Date: Fri, 28 Nov 2008 12:01:56 -0800 (PST)

Also regarding slashes: You are correct, and the manual is most
definitely wrong(or perhaps misleading).

You said:
> > Windows uses backward slashes, so your forward slashes won't work.
The manual says:
http://tortoisesvn.net/docs/nightly/TortoiseSVN_en/tsvn-dug-ignore.html
Subversion uses the / as the path delimiter in all internal pathnames,
and all pattern matching is done against this style of path names. If
you want to use a path delimiter in your ignore pattern, be sure to
use /, and not the Windows backslash.

As Tortoise is a windows application, I cant imagine how the manual
could be read to mean anything but : Don't use backslashes.

On Nov 28, 12:22 pm, Stefan Küng <tortoise..._at_gmail.com> wrote:
> 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
>
>  signature.asc
> < 1KViewDownload

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: users-help_at_tortoisesvn.tigris.org
Received on 2008-11-28 21:03:02 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.