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

Make a project version already in repo to be after (in revision history) a new added version

From: Diego Fernández Durán <diego_at_goedi.net>
Date: Thu, 08 Jan 2009 02:14:24 +0100

Hi all,

 I'll try to explain my problem:

  - I've a long term project with 2 key release versions:
      V_1 and V_2.
  
  - V_1 is not under version control (of any kind).
  - V_2 is imported in version control after 3 months of development
since V_1, so the initial V_2's version in repo and V_1 differ in
hundreds of changes.
  - We continue V_2's development using the repository and making
several revisions.

 Now, we're asked to insert V_1 in the repository as the first revision
and V_2 as the second revision keeping the revision log from the current
repository (newrev = oldrev+1 in this scenario), so the changes between
V_1 and V_2 get inserted in the repository and we can continue
development knowing where we came from.

 I've searching and I think the solution is:
  1. Make a dump file of the old repository containing V_2.
  2. Create new repository.
  3. Import V_1 as first revision of new repository.
  4. Do 'svnadmin load olddump' in the new repository where "olddump" is
the old repository's dump.

 Is this the right solution? Can anybody point me in the right
direction?

 Thanks in advance :)

-- 
Diego Fernández Durán <diego@goedi.net> | http://www.goedi.net
GPG : 925C 9A21 7A11 3B13 6E43 50DB F579 D119 90D2 66BB
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1010715
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].

Received on 2009-01-08 14:02:02 CET

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.