You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Mathieu Malaterre <ma...@gmail.com> on 2010/03/10 11:54:05 UTC

svnsync on subdirectory + simplify history

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