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

Re: Inserting an older Version into an existing Subversion History

From: Ryan Schmidt <subversion-2006Q1_at_ryandesign.com>
Date: 2006-02-15 17:40:44 CET

On Feb 15, 2006, at 10:52, jpo234@netscape.net wrote:

> I have migrated a development archive from dated tar archives (e.g.
> Projekt-2005-10-21.tgz, Projekt-2005-11-31.tgz, ...) into a
> Subversion repository. Each old tar archive got tagged and is those
> easy to find. Unfortunately somebody dug out a revision that is
> older than my starting point (e.g. my revision 1). This version is
> important because it is the starting point of a separate branch. Is
> there a way to insert this old version into svn without having to
> redo the imports and without messing up the history?

An option would be to simply "svn import" it into the appropriate new
tag in the tags directory. It wouldn't be a delta against any other
version, so it would take up more space in the repository than it
should, but if the project doesn't take up much space or you don't
care about disk space then it would work.

The history of the later tags which you already imported also would
not track back to that, which is unfortunate but also not correctable
as far as I know unless you start importing everything again from the
beginning, which, if you've already started new development in
Subversion, will probably be completely impossible.

But the advantage would be that the code is in the tags directory,
where someone might look for it, and can be copied to a new place if
you want to branch off of it, which is the purpose you mentioned in
your message.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Feb 15 17:55:32 2006

This is an archived mail posted to the Subversion Users mailing list.