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

Re: How to automated labels

From: Andy Levy <andy.levy_at_gmail.com>
Date: Fri, 17 Feb 2012 09:16:27 -0500

On Fri, Feb 17, 2012 at 07:23, Jonatas Emidio <jonatasemidio_at_gmail.com> wrote:
> At my company, we have a serious problem!
> We need to versionate not only the project but also each object inside
> this project.
> I think about an automated that when we alter an object this label:
> for example:
>  1 - object.java -> label 1.0
>  2 - user change the object
>  3 - object.java -> label 1.1
> To conclud, i need a label working as a version for object.

It sounds like you're coming from the Visual SourceSafe world. If
that's the case, forget *everything* you knew & did there; it was an
antiquated model 10 years ago.

Every item versioned by Subversion has a Last Changed Revision
associated with it. This is the last repository revision in which that
item was modified. You can extract that information fairly easily by
parsing the output of svn info for each item. You won't be able to get
"1.0" and "1.1" without some extra effort, but version numbering like
that better suited for tags.


To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2012-02-17 15:17:17 CET

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.