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

Re: Feature request: Selected files for Branch/Tag

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2007-10-12 22:17:34 CEST

Kerry Kurtz wrote:
> Actually, one reason for tagging just a few files would be to make
> files where changes occur to implement (for example) an (optional)
> module - where the tag name would be the module name. I do this quite
> a bit within an application and when I add in some new feature/module
> I then TAG (not branch).
> And, actually I consider the inability to TAG (though the menu item
> indicates Branch/Tag) multiple items within a directory to be a BUG. I
> consider it so BECAUSE you can do it for ALL files in a directory, or
> for just 1, BUT NOT for a multiple between 1 and all.

I guess you used CVS before?
Tagging in Subversion is handled differently. It's not a bug that you
can't tag multiple files at once but a feature. Just tag the whole
folder. In Subversion, a tag is a simple link, unlike CVS where a tag is
actually a full copy of the tagged files. That means you don't have to
pick single files to tag just to save space - you won't save space but
use more (because you create more links).

Oh, and it actually *is* possible to tag multiple files at once: select
the files in the repository browser, then drag them to the tag folder.

> On 10/10/07, Ron Wilson <ronw.mrmx@gmail.com> wrote:
>> Why only tag the changed files? Tagging does not create copies of the
>> files. And if you tag your whole project, it is easier to "recreate"
>> the state of project at the time the tag was made.
> Actually, where you put the tagged files DOES effectively copy them in
> the same manner as branching does.

They aren't copied. Subversion simply creates a link there.

>> On 10/10/07, Robin Briggs <terra-blue@hotmail.com> wrote:
>>> Our team is loving using TortoiseSVN. However, the way we do development, we
>>> usually tag certain files in a directory that have changed (ie, 4 of the 17
>>> files in a directory). When I Ctrl-Select the files and right-click to the
>>> TSVN menu, Branch/Tag is not an option. So we end up having to Branch/Tag
>>> each individual file.
> I personally consider this to be a BUG since you can effectively do
> ALL files in the directory by selecting the directly and it then
> processes through all the files as if each one had been selected.

No, it doesn't. It doesn't tag/branch each file individually. It creates
a cheap copy of the folder (which includes all the files).

> AND, before a certain someone (you know who you are) - says WHY would
> you want to BRANCH just some files since you should BRANCH
> directories, let me respond: Yes it is silly to BRANCH just a few
> files. HOWVER, it is NOT SILLY to TAG just a few files. It is the
> SILLY menu item which is at fault in this case since it indicates B

I recommend that you read the first parts of the Subversion book
http://svnbook.org
it will help you understand branching and tagging with Subversion. You
have to understand that you can't just apply the same stuff you learned
with other version control systems (e.g., CVS) to Subversion.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Fri Oct 12 22:17:56 2007

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.