Dumping SVN Repository

Hi all,

I'm trying to dump the llvm-gcc repository so that it can be loaded
into the llvm.org repository instead of the mirror. However, I need a
specific URL in that repository, not the whole repository itself. If I
use svnadmin, I can't use the URL. It requires a PATH to the
repository.

Does anyone know of a way to do this?

-bw

No, you can't generate a dump file from only a certain path in the
repository, but each revision is a global (IE whole-repo) revision,
even if we hide this well :slight_smile:

Hmm...okay. This poses a bit of a problem. The repository has a lot of other stuff in it. This begs the question, are we mega interested in the repository history of LLVM-GCC 4.0? If not, then we can just shove it into the normal repository without worrying about it. If we are, then...

-bw

Hmm...okay. This poses a bit of a problem. The repository has a lot
of other stuff in it. This begs the question, are we mega interested
in the repository history of LLVM-GCC 4.0? If not, then we can just
shove it into the normal repository without worrying about it. If we
are, then...

You should be able to extract only the llvm-gcc-related portion of the repository by using 'svnadmin dump', then running the resulting dump file through 'svndumpfilter' to extract only the required folders. You can instruct it to either create empty revisions for commits that happened entirely outside of this location, or you can have it omit those and renumber the remaining commits. See <Repository Maintenance > for a bit more information about this.

  Kind regards,

Mark Rowe