[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 20:30:03 -0800 (PST)

Thanks for the confirmation Simon.
> Silly question, but why do you want the tmp folders versioned in the
> first place? Can you get your build system to create them if they
> don't exist?

I have written a simple script to check the tmp folders before the
application runs. That works fine, just not as clean as using global
ignores. But at least it works!

Though it wasn't the answer I was looking for, my question is
answered, thank u Simon and Stefan.

On Nov 28, 6:00 pm, "Simon Large" <simon.tortoise..._at_googlemail.com>
wrote:
> 2008/11/28 php.baker <php.ba..._at_gmail.com>:
>
>
>
> > 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
>
> > 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
>
> > and in the "Subversion configuration file":
> > global-ignores = *tmp/cache/models* *tmp/cache/persistent* *tmp/cache/
> > views* *tmp/logs* *tmp/sessions* *tmp/tests*  *empty
>
> > I have read the manual, and I am not trying to ignore versioned files
> > I am trying to ignore these files when i do an import, and when I am
> > committing changes from a working copy.
>
> The other solution is to set the svn:ignore property for each of these
> folders to *
> You have to do it for each tmp folder, but it will definitely work.
>
> Global ignores seem to be aimed mainly at filenames - the svn book
> doesn't mention slashes at all, nor give any examples for how to do
> that, so I guess it is a feature not well tested in that way. I have
> mailed the svn user list for clarification on this.
>
> Silly question, but why do you want the tmp folders versioned in the
> first place? Can you get your build system to create them if they
> don't exist?
>
> Simon
>
> --
> :       ___
> :  oo  // \\      "De Chelonian Mobile"
> : (_,\/ \_/ \     TortoiseSVN
> :   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
> :   /_/   \_\    http://tortoisesvn.net
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr..._at_tortoisesvn.tigris.org
> For additional commands, e-mail: users-h..._at_tortoisesvn.tigris.org

---------------------------------------------------------------------
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-29 08:23:22 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.