如何提取SVN转储? [英] How to extract an SVN dump?

查看:93
本文介绍了如何提取SVN转储?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我收到了一个SVN转储文件,文件中包含很多页面(所有HTML页面以及所有服务器端代码).我想把它们分开,但是不知道如何做到这一点.

I received an SVN dump file with a lot of pages (all HTML pages, and all server-side code as well) in the file. I'd to separate them out, but have no clue how to do this.

我在Windows上,根本没有获得SVN.

I'm on windows and I don't get SVN at all.

推荐答案

Adam Butler的回答几乎是完美的,但是我遇到了一些问题,所以这是我的可行解决方案:

The answer by Adam Butler is nearly perfect, but I got a few problems with it, so here is my working solution :

在DOS窗口中(使用 ConEmu 以获得更好的效果)

In a DOS windows (Use ConEmu for a better one)

First cd to your svn folder tools
mkdir d:\dumpRepo
svnadmin create d:\dumpRepo
type [PATH TO DUMP].dump | svnadmin load d:\dumpRepo
svn export file:///d:/dumpRepo d:\Exportedfiles

对于svn导出文件URI仅包含常规/

It's really important that the file URI for svn export contains only regular /

这篇关于如何提取SVN转储?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆