axiom-developer
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Axiom-developer] GIT


From: Ralf Hemmecke
Subject: Re: [Axiom-developer] GIT
Date: Wed, 25 Oct 2006 22:45:57 +0200
User-agent: Thunderbird 1.5.0.7 (X11/20060909)

| One way to do this would be to first of all delete /trunk
| from the repository and rebuild it from the current contents
| of axiom--silver--1, but given the little I understand about
| how SVN works, I am concerned that using svnadmin to delete
| /trunk might have serious consequences for any branch cloned
| from /trunk (such as build-improvements). Am I wrong about
| that?

Doing a delete via svnadmin... I don't think that's the right way.

I don't know all the gory details of SVN implementation, but my
understanding is since SVN works by changeset, any change you make to
the repository is recorded as a global change with a given revision
number (even those branches that are not directly affected see the
change in the revision number).  Consequently, if you "delete" trunk
-- but not the metadata -- and replace it with a new copy, then
technically SVN would record all those changes, and the diff between
the branches should be able to compute correctly the change set.  This
assumes the "delete-and-replace" operation is trouble-free.
This is obvious, but please make a backup of the repo before you start :-)

One problem with 'svn delete' applied to the trunk and then recreation from new files is that you basically double the size of the repository since all files from axiom--silver--1 will be considered as new files. And that gives a huge changeset.

Cannot you setup a local svk depot, import axiom--silver--1 to it. Additionally mirror also the sourceforge trunk in that depot, compute the changeset and apply it to this mirror (which would automatically be committed to Sourceforge).

Just my meta thoughts. I don't know yet how exactly the commands would have to be, but I somehow feel that should be the easiest way with a minimal changeset.

Ralf




reply via email to

[Prev in Thread] Current Thread [Next in Thread]