[Pkg-scicomp-devel] Re: Changing hands of glpk-shlib and sundials

Thomas Weber thomas.weber.mail at gmail.com
Thu Sep 7 13:59:01 UTC 2006


Hi, 

Am Dienstag, den 05.09.2006, 20:36 +0200 schrieb Rafael Laboissiere:
> I could try to restore the history and the tags by hand but this would
> represent a huge amount of work and I cannot afford it.  Unless someone
> tell me another way to migrate parts of an SVN repository to another one,
> I will to just import the last versions of the sundials and glpk-shlib
> packages into the pkg-scicomp repository.  In this case, I will indicate
> in the initial commit log where the past history can be found.  What do
> you think?

I created the dump files for Rafael. I'll note my steps here for the
sundials package, in case someone needs this later.

The directory pkg-octave/ contains the full pkg-octave repository (that
is, it's not just a checked-out revision).


Let's get everything we need for sundials
 $ svnadmin dump pkg-octave | svndumpfilter --drop-empty-revs include \
	trunk/packages/sundials tags/packages/sundials > sundials.dump


svnadmin load can't use this dump because the first node-path: looks
like this:

	Node-path: tags/packages/sundials
or
	Node-path: trunk/packages/sundials



Think of doing 'mkdir tags/packages/sundials'; this won't work unless
you hand the '-p' option to mkdir. This is the reason for the 'file not
found' error message.


So, we need to add these directories; that is, we must add something to
sundials.dump:
=============================
Node-path: trunk
Node-action: add
Node-kind: dir
Prop-content-length: 10
Content-length: 10

PROPS-END

Node-path: trunk/packages
Node-action: add
Node-kind: dir
Prop-content-length: 10
Content-length: 10

PROPS-END


Node-path: tags
Node-action: add
Node-kind: dir
Prop-content-length: 10
Content-length: 10

PROPS-END

Node-path: tags/packages
Node-action: add
Node-kind: dir
Prop-content-length: 10
Content-length: 10

PROPS-END

=============================


I've added this just before the 
  Node-path: tags/packages/sundials
line that was already in the dump.

With this dump, I've created a new, temporary repository, named
'sun-repos'. I checked out sun-repos and re-organized the directories to
follow pkg-scicomp's conventions (I did use kdesvn for this, but it's
just a bunch of 'svn mkdir', 'svn mv', 'svn rm' commands). Afterwards, I
just checked in these changes and generated a dump of the temporary
repository.

Regards
	Thomas


-------------- next part --------------
A non-text attachment was scrubbed...
Name: sundials-new.dump.bz2
Type: application/x-bzip
Size: 58579 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-scicomp-devel/attachments/20060907/a9d33b4c/sundials-new.dump-0001.bin


More information about the Pkg-scicomp-devel mailing list