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

Re: Ignoring files on import/add...

From: Andy Levy <andy.levy_at_gmail.com>
Date: 2007-04-27 17:48:32 CEST

On 4/27/07, Andrew Close <aclose@gmail.com> wrote:
> On 4/27/07, Ingo Schmidt <list@der-ingo.de> wrote:
> > Hi Andrew!
> >
> > > i saw the option for a global-ignores property in the config and
> > > populated that with *.bak *.scc
> >
> > If you explicitly add a file that would match an ignored pattern,
> > it will still get added.
> > However, if such a file is in a folder and you "svn add" this folder,
> > then it will be ignored.
> >
> > Example:
> > In your working copy you create a folder called "testfolder". In it a file
> > called "test.bak". Now do "svn add testfolder". You will notice that
> > test.bak is indeed ignored as expected.
> > Now change into your testfolder and do "svn add test.bak" and you will
> > see, that this time your file gets added.
> >
> > So someone must have explicitly added these files for you, or your
> > config file is not yet correct. Which client did you use? Command
> > line? TSVN?
> >
> > > but i'm thinking that since we're going to have to straddle two
> > > source repositories for a couple months
> >
> > You are going to have both, VSS and SVN side by side? Is there maybe a
> > way of making a cut one day and switch?
> >
> > I did just that the other day in my company and it worked like a
> > charm. I did write a script, that automatically converts a VSS
> > database to svn with the help of the vss2svn script.
> >
> > I did make a lot of "dry runs" to fine tune my script for our needs to
> > make sure my script works perfectly on the day of the cut. It did and
> > we switched from VSS to SVN over night and so far had no problems at
> > all. :-)
> >
> > Maybe this is not an option in your case, but it could be worth
> > considering this :-)
>
> Ingo,
>
> thanks so much for the reply. i am using Tortoise as the client so i
> do have to specify the files even if i select a directory. i'll start
> using the cl for the adds though, thanks for the tip. ;)

If your config file is set up properly, TSVN shouldn't pre-select any
files matching the ignore patterns when you add a directory.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Apr 27 17:49:05 2007

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

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