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

Re: Revision numbers to what degree are they permanent

From: Frank Gruman <fgatwork_at_verizon.net>
Date: 2005-10-26 23:23:25 CEST

Kahn, Peter wrote:
> I am setting up another subversion environment and I thought I might use
> revision numbers as build numbers. It means that build numbers will ratchet
> up rather quickly in a non-contiguous manner, but that may be acceptable.
>
> If I use revision numbers as build numbers I need to know to what extent I
> can rely upon revision x always being revision x. The only case where I
> could envision a revision number's meaning shifting would be in an
> export/import or dump/load situation.
>
> QUESTIONS:
> - If I dump and load my repository, will my revision numbers be the same?
> Will r2030 still be r2030?
>
Yes ...
> - If I dump and partially reload will the revisions be renumbered giving the
> new starting point?
>
>
Yes

The reason for these is that a revision number is nothing more than a
reference point to a status of the repository at a certain date/time.
If you do a partial load, you are only keeping certain markers for those
points in time. Since the system has no idea of what has happened to
anything that is not being imported, it would make no sense to keep the
original numbering. You might forget that numbers were skipped, or why
(based on the load filter), or some new person may come in behind you.

To a lay person (me), the revision is nothing more than a sequential
number to correlate to the date/time stamp being created with that revision.

HTH
Frank

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Oct 26 23:28:55 2005

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.