Insert revision into file history
From: Thomas 'PointedEars' Lahn <PointedEars_at_web.de>
Date: Wed, 02 Jun 2010 17:20:57 +0200
Hello,
I would like to insert an older version of a file that is already in a
I have searched in the SVN book, searched with Google with keywords like
I think my problem is a rather complex one to describe, so I am trying to be
One should probably usually not do what I ask about, but I needed to do it,
I have a rather old project where I did not use Subversion from the start.
The problem was that this script missed to commit the first version of a
On the server:
1. Backup the entire repository $PROJECT to $BACKUP.
On the client:
6. svn checkout svn://$HOST/$PATH/$PROJECT/trunk .
Back on the server:
8. svnadmin dump $BACKUP -r 7:15 --incremental > $PROJECT-7-15.svndump
9. svnadmin load $PROJECT < $PROJECT-7-15.svndump
Node-action: add
into
Node-action: change
(otherwise `svnadmin load' would error out "path already exists")
12. svnadmin load $PROJECT < $PROJECT-16.svndump
However, the issues I have with my solution are:
1. It is rather tedious to implement and eats up time better spent for
2. I don't see how it could be automated.
3. I have noticed that the working copies can no longer be
SVN version on the client was/is 1.6.11 (Debian package); the server runs
Which better/easier/faster way to do this am I missing? Thank you very much
Regards,
PointedEars
|
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.