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

Re: Projects?

From: John Peacock <jpeacock_at_rowman.com>
Date: 2003-10-22 17:19:42 CEST

Wadsworth, Eric (Contractor) wrote:

> Create a text file named version.txt for each project. Put the number "1"
> into it. When you want to increment the major version, edit the file
> manually and increment the number, then check it in. Doing an "svn log
> version.txt" will show you the mapping of version number to revision numbers
> of the repository.

I don't think this is what the OP was looking for. He seems to be coming from
the CVS world and wants to map project version <=> revision number (which is
just barely possible in CVS, but not at all in SVN).

I already have plans to write a script called /release/ which will, among other
things, set a property with the "project" version (and create a tag and
optionally a tar file as well). I don't actually see a way to get the revision
history of versioned properties, but I think that would yield the behavior that
was desired.

John

-- 
John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4501 Forbes Boulevard
Suite H
Lanham, MD  20706
301-459-3366 x.5010
fax 301-429-5748
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Oct 22 17:20:06 2003

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

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