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

Re: Create SVN Repo with starting revision number XXXX?

From: Ryan Schmidt <subversion-2006Q1_at_ryandesign.com>
Date: 2006-03-14 12:22:21 CET

On Mar 14, 2006, at 03:54, Nick Penteado wrote:

> I am trying to migrate existing data from VSS into SVN (or leave
> existing releases in VSS and from now on use SVN) and I was
> wondering if
> there is any way to set the starting revision number to something
> besides 0. My reasoning for this is that I would like to use the
> revision number as the build number of a project, however if I
> start at
> 0, the build numbers will be less than existing released software.
> Does
> anyone see any draw backs to using the revision number in this way?
> I've successfully accomplished this in a test environment by
> creating an
> empty repository, dumping it to file, manually changing the
> Revision-number line to say 1234, then loading the modified dump file
> back into the repository, but this seems like an ugly hack. Any
> comments/ideas would be appreciated.

It's generally recommended not to attach additional meaning to the
revision number, which is, as simply as possible, "the number of
changes that have been made to the repository."

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Mar 14 12:26:19 2006

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