Hi,

Viktor Szakáts wrote:
Teo offered the his wxHarbour source tree for inclusion
in our repository (/examples/wxh) and we agreed to retain
the revision history of it.

And unfortunately there is no other way to do this in
SVN. I'm not happy to make such rounds to accomplish
a simple task like that.

I found a Teo text:

In the past, I had used svnadmin to acomplish this:

First I have to dump the svn repository ( svnadmin dump wxHarbour > wxh.dump )
Then the dumped svn repository is loaded in to the targeting repo using the 
--parent-dir argument:

cat wxh.dump | svnadmin load --parent-dir trunk/harbour/examples/wxHarbour

Does this requires to dump Harbour SVN repository? Or are you doing this just to backup before serious operation?


Maybe I'll setup GIT locally, gather some experiences,
and eventually we can switch Harbour. I don't like the GIT
web interface though (on sf.net), it also doesn't have
a rev number (can't have one), no Trac support, so it's
quite a culture shock yet. For sure a lot of projects
are migrating to it though.

May be I'm wrong, but AFAIK, git does not have Windows client, cygwin only solution is available. I do not think it is worth to move to GIT because of a single need to add wxHarbour.

Brainstorming 1:

cd c:\wxHarbour\trunk\wxHarbour
svn switch -r 1
svn update
svn log -r 1 > c:\svnmsg.txt
xcopy /E/Y *.* c:\harbour\examples\wxHarbour
cd c:\harbour
svn commit -F c:\svnmsg.txt

cd c:\wxHarbour\trunk\wxHarbour
svn switch -r 2
svn update
svn log -r 2 > c:\svnmsg.txt
xcopy /E/Y *.* c:\harbour\examples\wxHarbour
cd c:\harbour
svn commit -F c:\svnmsg.txt

and so on.... wxHarbour has 307 revision, so, it will do in finite amount of time.


Brainstorming 2:

If you are going to do a whole svn merge in your own repository, and later load it into public sf.net repository, the last ChangeLog split merge can be undone (thus deleting big redundant SVN change) by using --incremental dump option of Harbour SVN before ChangeLog split.


Regards,
Mindaugas
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to