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

RE: Unique global id / revisions numbers across repositories

From: Reedick, Andrew <jr9445_at_ATT.COM>
Date: Thu, 31 Jul 2008 16:16:07 -0500

> -----Original Message-----
> From: Murli Varadachari [mailto:mvaradachari_at_facebook.com]
> Sent: Thursday, July 31, 2008 4:59 PM
> To: users_at_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_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-07-31 23:16:53 CEST

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.