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

Re: Change Version Number

From: B. Smith-Mannschott <benpsm_at_gmail.com>
Date: 2007-01-17 06:46:19 CET

On Jan 17, 2007, at 00:01, Ryan Schmidt wrote:

> On Jan 16, 2007, at 16:46, Bryan Kardisco wrote:
>> I've been setting up a subversion server all nice and neat and
>> it's where I want it to be -- including uploading the folders and
>> such. However, it says I'm on revision #9 and I'd really like it
>> to say Version 1 Revision 1.
>> I've done this in the past but I can't really recall what to do.
> Oh. Here you go:
> http://svn.haxx.se/users/archive-2006-11/1058.shtml

It doesn't sound like this is what you want. The tip from the
mailing list will give you a repository containing only the first
revision of your new repository (which contains 9 revisions).

Presumably, you'd like all the changes you made in setting up your
repository (9 revisions worth) to be sort of "flattened" down to 1
revision. At least that's what it sounds like.

The short answer is: **don't bother**.

The longer answer is: Every change to the repository creates a new
revision. All the revision number does is count these revisions You
happened to take 9 revisions to get the repository "set up". *Who
cares?* Don't try to force a meaning onto the revision number that
it doesn't have.

For the obsessive compulsive: You *could* "svn export" your
repository and then re-import the result into a new repository.
// Ben

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jan 17 06:46:44 2007

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.