You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Tom Hodder <To...@emap.com> on 2006/10/24 10:24:13 UTC

using revision numbers in external system

Hi,
 
I would like to be able to rollback to a specific revision using an
external system. So my thinking is to store the revision number in a
table, and if I need to go back I can call "svn export -r
$rs['revisionNumber'] file:///myrepos/projectA"
 
However I can see that there are commands that cause renumbering of
revisions, however it would seem to me that as long as I don't delete
earlier revisions in the live repository, that they would not get
renumbered. 
Is this the case? and to what degree can I rely on revision numbers on
external systems.
 
Thanks,
 
Tom H

For information about all Emap magazines, radio, TV, events and digital brands, please visit www.emap.com

** For Emap magazine subscriptions & gift offers visit http://www.greatmagazines.co.uk/emap **

The information in this email is intended only for the addressee(s) named above.  Access to this email by anyone else is unauthorised.

If you are not the intended recipient of this message any disclosure, copying, distribution or any action taken in reliance on it is prohibited and may be unlawful. 

Emap plc and or its subsidiaries do not warrant that any attachments are free from viruses or other defects and accept no liability for any losses resulting from infected email transmissions.

Please note that any views expressed in this email may be those of the originator and do not necessarily reflect those of this organisation.

Re: using revision numbers in external system

Posted by Russ <rs...@istandfor.com>.
I think he's referring to svndumpfilter.

Russ
Sent wirelessly via BlackBerry from T-Mobile.  

-----Original Message-----
From: "Andy Levy" <an...@gmail.com>
Date: Tue, 24 Oct 2006 07:09:24 
To:"Tom Hodder" <To...@emap.com>
Cc:users@subversion.tigris.org
Subject:  Re: using revision numbers in external system

On 10/24/06, Tom Hodder <To...@emap.com> wrote:
>
>
> Hi,
>
> I would like to be able to rollback to a specific revision using an external
> system. So my thinking is to store the revision number in a table, and if I
> need to go back I can call "svn export -r $rs['revisionNumber']
> file:///myrepos/projectA"
>
> However I can see that there are commands that cause renumbering of
> revisions, however it would seem to me that as long as I don't delete
> earlier revisions in the live repository, that they would not get
> renumbered.
> Is this the case? and to what degree can I rely on revision numbers on
> external systems.

The only thing that can go back in time and renumber old revisions
(that I'm aware of) is if you manually remove revisions from the
repository.  This is a non-trivial, rather difficult maneuver, and
it's strongly discouraged that one even do it.

What other commands do you think you have found that can renumber revisions?

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

Re: using revision numbers in external system

Posted by Andy Levy <an...@gmail.com>.
On 10/24/06, Tom Hodder <To...@emap.com> wrote:
>
>
> Hi,
>
> I would like to be able to rollback to a specific revision using an external
> system. So my thinking is to store the revision number in a table, and if I
> need to go back I can call "svn export -r $rs['revisionNumber']
> file:///myrepos/projectA"
>
> However I can see that there are commands that cause renumbering of
> revisions, however it would seem to me that as long as I don't delete
> earlier revisions in the live repository, that they would not get
> renumbered.
> Is this the case? and to what degree can I rely on revision numbers on
> external systems.

The only thing that can go back in time and renumber old revisions
(that I'm aware of) is if you manually remove revisions from the
repository.  This is a non-trivial, rather difficult maneuver, and
it's strongly discouraged that one even do it.

What other commands do you think you have found that can renumber revisions?

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