You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Murli Varadachari <mv...@facebook.com> on 2008/07/31 20:59:01 UTC

Unique global id / revisions numbers across repositories

Is it possible to have multiple repositories that use a single global
revision number across all the repositories.

Alternatively is it possible to  specify that a repository should start
using revision numbers from say 100,000 instead of 0.

Cheers
Murli


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

RE: Unique global id / revisions numbers across repositories

Posted by "Reedick, Andrew" <jr...@ATT.COM>.
> -----Original Message-----
> From: Murli Varadachari [mailto:mvaradachari@facebook.com]
> Sent: Thursday, July 31, 2008 4:59 PM
> To: users@subversion.tigris.org
> Cc: Murli Varadachari
> Subject: Unique global id / revisions numbers across repositories
> 
> 
> Is it possible to have multiple repositories that use a single global
> revision number across all the repositories.

	Normally, a revision number by itself isn't enough to identify
code.  You need the path/url also.  (If you have no branches whatsoever,
then the rev number would be enough.)  If you need both the svn_url and
rev_num to identify a baseline, then there's no difference in the way
you reference a meta-repository or multiple repositories, so creating a
hack to have a single revision number across repositories would be would
be largely meaningless. 
 

> Alternatively is it possible to  specify that a repository should
start
> using revision numbers from say 100,000 instead of 0.

	Filtering might work.  In theory, do 999,999 commits and do some
filtering.
http://svnbook.red-bean.com/en/1.4/svn.reposadmin.maint.html#svn.reposad
min.maint.filtering
	And then use "--drop-empty-revs  Do not generate empty revisions
at all-just omit them."  No idea if it would preserve the rev num would
be at 100,000 when done.


What's the rationale behind having a meta-revision number?  There might
be a better to achieve your goal while still fitting in with Svn's
paradigm(s).



*****

The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential, proprietary, and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from all computers. GA623



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org


Re: Unique global id / revisions numbers across repositories

Posted by John Peacock <jo...@havurah-software.org>.
Murli Varadachari wrote:
> Is it possible to have multiple repositories that use a single global
> revision number across all the repositories.

No.

> Alternatively is it possible to  specify that a repository should start
> using revision numbers from say 100,000 instead of 0.

No.

Tell us what you actually want to accomplish and maybe someone smart can 
help you with what you really need...

John

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org