On 12/10/2007, Kerry Kurtz <kerrykurtz@gmail.com> wrote:
> On 10/12/07, Stefan Küng <tortoisesvn@gmail.com> wrote:
> > 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?
> Yes and still do on some things
>
> > 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).
> The big problem with this is if you want to take a insignificant
> percentage of the files versus the total. It means you then have to go
> back and then delete the unwanted ones. And, what would that do to the
> 'saved space'? I would think that it would negate any file system
> savings (especially with NTFS and it's default 4K cluster size).
You are thinking in CVS terms again. SVN does not map files in the WC
to files in the repository like CVS does. In the FSFS file system each
repository revision is represented by a single file which holds the
changes to the repository filesystem. The links here are not NTFS
links but internal structures in the Subversion database.
But the real question here is "why do you want to delete files from a
tag?". The tag is a snapshot of the folder at the time you make it.
The fact that not all the files within that folder are part of the
change is immaterial. You can checkout a tag and build it and get the
application in the exact state as it was at that feature release. If
you tag only the files involved you lose that capability.
> > 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.
>
> Aha!! This would have been nice to know beforehand.
I will check the docs on that one.
> > 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.
> I am in the process of doing just that (in the non-copious free time
> of my scheduled 28hr per day workday - just slightly overextended on
> my time).
Same here :-(
Simon
--
___
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 23:59:10 2007