首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 软件管理 > CVS SVN >

svnsync有关问题: have you committed to the destination without using svnsync

2012-12-29 
svnsync问题: have you committed to the destination without using svnsync由于网络原因,急着备份大的SV

svnsync问题: have you committed to the destination without using svnsync

由于网络原因,急着备份大的SVN代码库。利用svnadmin create 新建镜像库。svnsync init 实现同步初始化,svnsync sync同步部分版本中后,网络太慢。决定手动拷贝svn 代码库的文件到镜像库。

svnsync sync http://localhost/projects2 同步到了版本1475。

1.在E:\SVN\svn\repositories\projects2\db下找到E:\SVN\svn\repositories\projects2\db\revs 和 E:\SVN\svn\repositories\projects2\db\revprops。从源库下面对应的目录里面,分别拷贝拷贝1476-1999E:\SVN\svn\repositories\projects2\db\revs?和 E:\SVN\svn\repositories\projects2\db\revs 下面。

2. 修改E:\SVN\svn\repositories\projects2\db\current文件,将1466改成1999.

3. 命令行运行svnsync sync http://localhost/svn/projects

??? 这个时候会报错:?中文(你是否使用非svnsync方法提交到目标版本库) 英文错误信息( have you committed to the destination without using svnsync? )

?svnsync有关问题: have you committed to the destination without using svnsync

4.?命令行svn proplist --revprop -r 0?https://myproject.googlecode.com/svn

? ?正确输出如下图:?? svnsync有关问题: have you committed to the destination without using svnsync如果svn proplist --revprop -r 0?http://localhost/svn/projects2?没有报错的话,就执行下面的命令:svn propset --revprop -r0 svnsync-last-merged-rev 1999?http://localhost/svn/projects2??svnsync有关问题: have you committed to the destination without using svnsync
在命令行执行:?svn pdel --revprop -r 0 svn:sync-currently-copying?http://localhost/svn/projects2
svnsync有关问题: have you committed to the destination without using svnsync
关闭当前运行的cmd窗口,重新再命令行执行: svnsync sync?http://localhost/svn/projects2?开始从版本2000开始同步:svnsync有关问题: have you committed to the destination without using svnsync
检查projects2代码库:svnsync有关问题: have you committed to the destination without using svnsync

热点排行