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

RE: Re: "Update to revision" recursively checks out unwanted items with "choose items" in Repository Browser

From: Dirk Hoffmann <hoffmann_at_cppm.in2p3.fr>
Date: Mon, 17 Aug 2015 09:23:25 +0200 (CEST)

On Aug 16, Dag Schmidt wrote:

> I don't think "ignore" will help.
> It is a matter of how the selection checkbox works.
> Opening the collapsed tree-view again will ignore saved selections but uses all items selected in all subdirectories by default.

I understand.

The svn:ignore property is rather to avoid permanently that documents
contained in your sandbox / workdir are *committed* into the repository. I
misunderstood your need.

What you want is a partial *checkout*. I wonder why. In principle that is
exactly what a VCS is made for: to assure that all files are in sync with the
same release from the repository.

But here is how it would work on commandline:

  $ svn update --set-depth emtpy
  $ svn update ./file1_i_want # fetch a file I want to "connect" to the repo
  $ svn update ./file2_i_want
  $ # [all other files]
  $ svn update # will now only update previously fetched files

Maybe there is an equivalent with TortoiseSVN, but I do not know it enough for
these fineprints of SVN.

Eventually you want to do that copy in a particular checkout workdir and copy
other files there in addition. If they are in the repository, that will be a
mess later on to re-sync and merge everything, but it is what you wanted.
(Does that list of files change often?)

Alternatively, you could work with branches, which contain only that fraction
of the files, which you exactly want.

Your request, to make TortoiseSVN remember which files you selected last
time for update, would break an important other function: If new files show up
in the repository (commited by someone else), then they would not be checked
out by default.

Hope this helps!
                                                                         Dirk

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3132404

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2015-08-17 09:23:38 CEST

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