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

svnsync on subdirectory + simplify history

From: Mathieu Malaterre <mathieu.malaterre_at_gmail.com>
Date: Wed, 10 Mar 2010 12:54:05 +0100

Hi there,

  After much struggle with svndumpfilter, I realize I did not
understand the errors reported. Instead I used svnsync to extract a
subdirectory of my original subversion server. What I would like now
is simplify the history and remove any empty revision.

  Here is what I did (original https svn server is 1.4.2)

  svnadmin create mirror_project
  svnsync init file://`pwd`/mirror_project
https://original.server.com/svn/project
  svnsync sync file://`pwd`/mirror_project

  svnadmin create mirror_trunk
  svnsync init file://`pwd`/mirror_trunk
file://`pwd`/mirror_project/Code/project1
  svnsync sync file://`pwd`/mirror_trunk

the final mirror_trunk svn repository has every single revisions. I
even tried a :

  svnadmin dump file://`pwd`/mirror_trunk | svndumpfilter
--drop-empty-revs --renumber-revs include Code/project1 > simple.dump

But it seems as if nothing happened.

Thanks for suggestion !

-- 
Mathieu
Received on 2010-03-10 12:55:06 CET

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.