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

Re: Re: SVN Update specific file types only

From: Ben Fritz <fritzophrenic_at_gmail.com>
Date: Mon, 18 Nov 2013 12:20:09 -0600

On Mon, Nov 18, 2013 at 3:20 AM, Dee Tooké <deetooke_at_gmail.com> wrote:
> Hi Michael,
>>Since 1.7 (I think) it is possible to exclude files in
>>the "Checkout" and the "Update to revision" dialog, not
>>only folders. These stay excluded when you update again
>>later (just like excluded folders).
>>Note that if you exclude files, newly created files will
>>nevertheless be fetched during the next update, so
>>depending on the number of newly added files in your
>>repository, you might have to continue excluding files
>>again and again.
> This sounds promising. I've currently got the top level folder checked out. Underneath that top level, there are (currently) about 100 sub-directories, each of which has an average of 6 further sub-directories. Looking roughly something like this:
> -Product Name
> --doc
> --src
> ---severalsubs in src
> ---assets
> --other1
> --other2
> So, none of the documentation is in the same directory as the source, but included within the src directories are other files that do come under the title/meaning of src, but simply aren't files I want to get. Similarly, in the documentation folders I might want to get .html and .pdf files, but I don't want demo videos or photoshop psd files etc.
> Each time I do a new update (which will be at the top level folder), I'm expecting some files to have been changes, some to have been added/deleted, and some brand new folders.

I think what I'd do in your situation, barring a change to repository
layout, would be to replace the "svn update" command in the top-level
menu with "update to revision", moving "svn update" into the sub-menu.

Then every time I do an update, I would leave the revision at HEAD but
click the "Choose items..." button.

This brings up a dialog showing your project tree, with a checkbox for
every file or folder in the project. The currently excluded files and
folders start with their checkbox unchecked (as far as I can tell) and
the included files and folders are checked.

Then you can deselect any new files or folders that got added. Of
course this assumes the number of new files is fairly small and
localized to a few directories each time you do an update, otherwise
this will be VERY tedious.

I can sort of see why you'd be missing the ability to update specific
files from the repository...


To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2013-11-18 19:20:38 CET

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