[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: Simon Large <simon.tortoisesvn_at_gmail.com>
Date: Fri, 17 Feb 2012 14:20:04 +0000

On 17 February 2012 14:16, Andy Levy <andy.levy_at_gmail.com> wrote:
> 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.

You can also use SubWCRev.exe to extract the highest committed
revision for all files in a directory.

Simon

-- 
:       ___
:  oo  // \\      "De Chelonian Mobile"
: (_,\/ \_/ \     TortoiseSVN
:   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
:   /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2923756
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2012-02-17 15:20:10 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.