我一直在尝试使用 HG convert 将本地 CVS 存储库迁移到 HG。当我运行命令时...
hg convert CATools
我看到以下消息:
“有效请求”,但得到 '')
“有效请求”,但得到 '')>假设目的地 CATools-hg
正在初始化目标 CATools-hg
存储库连接到
:sspi:shcgl-egcrizan:2401:/cvsroot
未知命令:`服务器'
CVS 命令是:
add 将新文件/目录添加到存储库
admin rcs 的管理前端
annotate 显示每行被修改的最后修订版本
checkout 签出源进行编辑
commit 将文件签入存储库
diff 显示修订版之间的差异
编辑 准备好编辑监视的文件
编辑者 查看谁正在编辑监视的文件
从CVS导出源,类似于checkout
历史记录 显示存储库访问历史记录
import 使用供应商分支将源导入 CVS
init 创建 CVS 存储库(如果不存在)
log 打印出文件的历史信息
登录提示输入密码以验证服务器
注销 删除远程存储库的 .cvspass 中的条目
rannotate 显示模块每一行的最新修订版本
修改的
rdiff 创建版本之间的“补丁”格式差异
release 表示某个模块不再使用
从存储库中删除条目
rlog 打印出模块的历史信息
rtag 添加符号标签到模块
status 显示检出文件的状态信息
tag 添加符号标签到文件的签出版本
unedit 撤消编辑命令
更新使工作树与存储库同步
version 显示当前 CVS 版本
手表 套装手表
观察者 查看谁正在观察文件(指定 --help
其他帮助列表的选项
选项)中止:意外响应
来自 CVS 服务器(预计
“有效请求”,但得到 '')“有效请求”,但得到 '')
有人找到了解决方法吗?我找到了这篇文章,但不明白如何在 Windows 上执行此操作。
http://blog.edsantiago.com/archives/ 2009/02/19/#e2009-02-19T19_23_32.txt
I have been trying to use HG convert to migrate a local CVS repository to HG. When I run the command...
hg convert CATools
I see the following message:
"Valid-requests", but got '')
"Valid-requests", but got '')> assuming destination CATools-hg
initializing destination CATools-hg
repository connecting to
:sspi:shcgl-egcrizan:2401:/cvsroot
Unknown command: `server'
CVS commands are:
add Add a new file/directory to the repository
admin Administration front end for rcs
annotate Show last revision where each line was modified
checkout Checkout sources for editing
commit Check files into the repository
diff Show differences between revisions
edit Get ready to edit a watched file
editors See who is editing a watched file
export Export sources from CVS, similar to checkout
history Show repository access history
import Import sources into CVS, using vendor branches
init Create a CVS repository if it doesn't exist
log Print out history information for files
login Prompt for password for authenticating server
logout Removes entry in .cvspass for remote repository
rannotate Show last revision where each line of module was
modified
rdiff Create 'patch' format diffs between releases
release Indicate that a Module is no longer in use
remove Remove an entry from the repository
rlog Print out history information for a module
rtag Add a symbolic tag to a module
status Display status information on checked out files
tag Add a symbolic tag to checked out version of files
unedit Undo an edit command
update Bring work tree in sync with repository
version Show current CVS version(s)
watch Set watches
watchers See who is watching a file (Specify the --help
option for a list of other help
options) abort: unexpected response
from CVS server (expected
"Valid-requests", but got '')"Valid-requests", but got '')
Has anybody found a workaround? I found this article but do not understand how to do this on Windows.
http://blog.edsantiago.com/archives/2009/02/19/#e2009-02-19T19_23_32.txt
发布评论
评论(2)
本地化有多“本地化”?如果您具有 CVS 存储库的文件系统访问权限,则只需将其复制并进行真正的本地
hg 转换
。How "local" is local? If you have filesystem access to the CVS repository, you can just copy it over and do a real local
hg convert
.请考虑使用 cvs2hg 进行转换。众所周知,“hg Convert”在处理重要的 CVS 存储库时会出现问题,例如经常默默地生成一个 Mercurial 存储库,其分支/标签内容与 CVS 存储库中的内容不一致。除非您需要增量转换(并且可以接受不准确的情况),否则“hg Convert”并不是从 CVS 转换为 Mercurial 的可靠解决方案。
Please consider using cvs2hg for the conversion. "hg convert" is known to have problems with nontrivial CVS repositories, for example often silently producing a Mercurial repository whose branch/tag contents do not agree with those in the CVS repository. Unless you require incremental conversion (and can live with inaccuracies), "hg convert" is not a reliable solution for converting from CVS to Mercurial.