[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: Kerry Kurtz <kerrykurtz_at_gmail.com>
Date: 2007-10-16 23:10:20 CEST

On 10/12/07, Simon Large <simon.tortoisesvn@googlemail.com> wrote:
> 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.
>
Actually it is more that in order to tag just a few files out of a
great many the additional would need to be deleted, or do an
individual file tag (which can be tedious and take quite a bit of
extra time when tagging (say) 30 files in 2 directories, plus another
whole directory. The prime reason I tag just a few files is when I am
implementing an 'external' module into the project. Example, with the
CRELoaded OSCommerce shopping cart, I would tag all the external files
to implement (for example) Google Checkout, plus all the project files
which need to be changed in order to implement the google checkout
payment module.

> > > 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
>
>

-- 
Kerry Kurtz
God has a purpose for each of us!!!
But, what is mine?
--------------
The perfect no-stress environment is the grave. When we
change our perception we gain control. The stress becomes a
challenge, not a threat. When we commit to action, to actually
doing something rather than feeling trapped by events, the
stress in our life becomes manageable."
-- Greg Anderson, Author
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Tue Oct 16 23:13:43 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.