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

RE: Revision number for project

From: Reedick, Andrew <jr9445_at_ATT.COM>
Date: Wed, 13 Aug 2008 09:48:56 -0500

> -----Original Message-----
> From: Kirti [mailto:K.Bodhmage_at_gre.ac.uk]
> Sent: Wednesday, August 13, 2008 8:35 AM
> To: users_at_subversion.tigris.org
> Subject: Revision number for project
>
> Hi,
> I am new to subversion. I have project in repository called portal. We
> generally build portal.jar and deploy it to live.
> So individual files inside portal project have revison number.
> Now I want to achieve 2 things.
>
> 1. I want to delete 2 files from portal project for new deployment ,
> while
> these files are still there in old version

        As Thomas stated, directory versioning is a built-in feature of
Subversion. Using tag branches can make it easier to refer to previous
builds/baselines.

 
> 2. I want to give revison number to portal project itself so everytime
> we
> perform changes, portal.jar has new revison number.(e.g portal.jar1.2
,
> portal.jar1.3)
>
> Problem is that I don't know how to acive it. Any suggestions/help
will
> be
> appreciated.

        Renaming a filename from portal.jar1.2 to portal.jar1.3 requires
a checkout/checkin in any version control system. The build script that
creates the portal.jar will need to do the rename and checkout/in.

        You can also tag the code base, build the portal.jar in the tag
branch, rename the jar file in the tag branch, and then lock down the
tag branch.
 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-08-13 16:49:29 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.