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

Re: Tortoise or subversion or...

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2006-07-14 21:10:36 CEST

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
Received on Fri Jul 14 21:10:44 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.