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

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

From: Neville Franks <webinfo_at_getsoft.com>
Date: 2007-02-24 21:12:15 CET

Sunday, February 25, 2007, 1:38:27 AM, you wrote:

>> 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.

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

By "import" I assume you mean "checkout" from the repository to a
local working copy.

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

NV> Using TSVN this is even easier:

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

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

Thanks for that. I am a single developer and I'm starting with an
empty repository. I'm simply looking for a quick straightforward way
to add my existing codebase/working copy into an empty repository and
exclude the unwanted files and folders.

The FAQ item Sven pointed out http://tortoisesvn.net/node/248 lets me
achieve what I want and is similar to what you've outlined.

However the ability to tell SVN to ignore a set of files/folders say
in Repo-Browser prior to any import/add would be much quicker and
simpler IMO. Maybe I'm a bit thick, but this has been a big stumbling
block for me, and I can't imagine I'm alone.

Best regards,
  Neville Franks, Author of Surfulater and ED for Windows 
  Soft As It Gets Pty Ltd, http://www.surfulater.com - http://www.getsoft.com
  Victoria, Australia       mailto:nev@getsoft.com
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Sat Feb 24 21:12:37 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.