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

RE: Re[4]: Bug: TortoiseSVN|Add to ignore list missing

From: Nick Vaughan <n.vaughan_at_codestuff.net>
Date: 2007-02-24 15:38:27 CET

>
> What I don't understand is that the ability to exclude files
> and folders when adding an existing code base to SVN seems
> like something everyone would want to do, but there is no
> straightforward way to accomplish it. I have to say this seem
> like a quite basic shortcoming to me.
>

But you can. I think you might be getting confused between the local
working copy and the repository. You import the existing codebase into a
local working copy - add all the svn:ignore's required, delete any parts
you don't want to include and once you're happy with the local working
copy you then commit this to the repository.

You're not doing anything to the repository by adding files to your
local working copy, the repository is only affected once you commit your
changes.

Using TSVN this is even easier:

1. Create your folder to import to using Repository Browser
2. Check this folder out to your local file system.
3. Cut'n'paste your existing source tree into this checked out folder.
4. Right click on the checked out folder and select Commit from TSVN
5. You can now pick and choose exactly what to include in the commit,
ignore folders you don't want to include and even delete directories and
files all through the commit dialog.

The only caveat is that you have to Add (to your local working copy) any
directories before you can ignore any child directories or files.

Hope this helps.

Nick.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Sat Feb 24 15:38:45 2007

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.