You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Paul Richards <pa...@gmail.com> on 2007/11/06 09:04:11 UTC

Artificially increment repository revision number

Hi,
Is there a way to artificially increment the repository revision
number in subversion?

We have recently migrated from one VCS to SVN, and we'd like the
revision numbers in SVN to not overlap the revision numbers we had for
the old VCS.

I can imagine writing a small script to make the 2000 or so dummy
commits to do this, but I'm hoping for a more elegant solution.


Thanks in advance,

-- 
Paul Richards

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

Re: Artificially increment repository revision number

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Nov 7, 2007, at 16:14, Paul Richards wrote:

> On 06/11/2007, Hari Kodungallur wrote:
>
>> On Nov 6, 2007 1:04 AM, Paul Richards wrote:
>>
>>> Is there a way to artificially increment the repository revision
>>> number in subversion?
>>>
>>> We have recently migrated from one VCS to SVN, and we'd like the
>>> revision numbers in SVN to not overlap the revision numbers we  
>>> had for
>>> the old VCS.
>>>
>>> I can imagine writing a small script to make the 2000 or so dummy
>>> commits to do this, but I'm hoping for a more elegant solution.
>>
>> I don't think there is a way to start the repository at a particular
>> revision. It always starts at 0.
>
> Our repository has already been started.  What I am looking for now is
> a way to make the revision numbers jump by a certain amount.

The only way to do it would be to commit a number of dummy revisions.


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

Re: Artificially increment repository revision number

Posted by Paul Richards <pa...@gmail.com>.
On 06/11/2007, Hari Kodungallur <hk...@gmail.com> wrote:
>
> On Nov 6, 2007 1:04 AM, Paul Richards <pa...@gmail.com> wrote:
>
> > Hi,
> > Is there a way to artificially increment the repository revision
> > number in subversion?
> >
> > We have recently migrated from one VCS to SVN, and we'd like the
> > revision numbers in SVN to not overlap the revision numbers we had for
> > the old VCS.
> >
> > I can imagine writing a small script to make the 2000 or so dummy
> > commits to do this, but I'm hoping for a more elegant solution.
> >
>
> I don't think there is a way to start the repository at a particular
> revision. It always starts at 0.
>
> thanks,
> -Hari Kodungallur
>

Our repository has already been started.  What I am looking for now is
a way to make the revision numbers jump by a certain amount.


-- 
Paul Richards

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

Re: Artificially increment repository revision number

Posted by Hari Kodungallur <hk...@gmail.com>.
On Nov 6, 2007 1:04 AM, Paul Richards <pa...@gmail.com> wrote:

> Hi,
> Is there a way to artificially increment the repository revision
> number in subversion?
>
> We have recently migrated from one VCS to SVN, and we'd like the
> revision numbers in SVN to not overlap the revision numbers we had for
> the old VCS.
>
> I can imagine writing a small script to make the 2000 or so dummy
> commits to do this, but I'm hoping for a more elegant solution.
>
I don't think there is a way to start the repository at a particular
revision. It always starts at 0.

thanks,
-Hari Kodungallur