[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: Joshua Varner <jlvarner_at_gmail.com>
Date: 2005-10-26 23:14:42 CEST

On 10/26/05, Kahn, Peter <Peter.Kahn@ironmountain.com> 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?
>
If you are talking about incremental yes, If you are talking about pruning
the tree you have to explicitly tell svndumpfilter to renumber the revisions.
The default is to create empty revisions for any that are filtered.

See --drop-empty-revs and --renumber-revs
http://svnbook.red-bean.com/nightly/en/svn.reposadmin.maint.html#svn.reposadmin.maint.tk.svndumpfilter

Josh

---------------------------------------------------------------------
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:20:15 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.