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

RE: Re: Tortoise or subversion or...

From: Peter Yamamoto <yamamotop_at_page44.com>
Date: 2006-07-14 21:31:44 CEST

Thanks for the explanation...

I guess I didn't "add" from the root folder since it was an sdk folder that already had an include folder with some files in it but the new adds included both new files/subfolders there as well as in another new subfolder and I always thought of "Add" as being a "virgin" add (eg everything below would be new, not a mix).

Peter

-----Original Message-----
From: Stefan Küng [mailto:tortoisesvn@gmail.com]
Sent: Friday, July 14, 2006 12:11 PM
To: users@tortoisesvn.tigris.org
Subject: Re: Tortoise or subversion or...

Peter Yamamoto wrote:
> I'm trying to add some files and folders to an existing folder.
>
> I did check for modifications, and saw what seemed to be an extensive
> list of unversioned files. I selected them all and selected add.
>
> But when I then said commit..., there were more unversioned files. So
> I selected those and said add.
>
> Then I thought that was weird. So I repeated the process.
>
> I then got more unversioned files in the "check for modifications"
> dialog, weird again(?), and selected them and added them.
>
> Back to commit..., more unversioned files show up...
>
> At first I thought maybe it was only adding one layer deep of new
> folders, but that doesn't really seem to be the pattern but maybe it
> was. After this second iteration it seems like all the files are now
> marked for add under the folder I was doing this from.
>
> But if this expected behavior (for multiply nested new folders [which
> I do not think it is]), I'd expect something to tell me that I should
> run it multiple times to ensure the list is complete.

The "add" function from the commit/check-for-modifications dialog is intended to 'correct' missing adds. If you have to add a lot of files at once recursively (because you have a new folder with lots of other unversioned folders in it), then you should use the "Add" function from the explorer->TortoiseSVN->Add submenu. That one will show up a special "Add" dialog, showing *all* files recursively which you then can add in one step.

Still, you *can* add all files from the commit/check-for-modifications dialog as you discovered. But those dialogs are not meant to show unversioned files in unversioned folders, because usually those files are uninteresting for a commit or for checking the state of your working copy, and therefore just would clutter those dialogs.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Fri Jul 14 21:31:50 2006

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.