Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/git/20.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Git 从Mercurial存储库创建快速导出包_Git_Version Control_Mercurial_Plasticscm - Fatal编程技术网

Git 从Mercurial存储库创建快速导出包

Git 从Mercurial存储库创建快速导出包,git,version-control,mercurial,plasticscm,Git,Version Control,Mercurial,Plasticscm,我试图找到快速导出hg存储库的方法,并将结果转储到与快速导出兼容的格式文件中 基本上,我想做与Git或Plastic SCM相同的事情: git fast-export --all -C --tag-of-filtered-object=drop --signed-tags=strip > Repository.fast-exported cm fast-export MyProject@PlasticSCMServer:8087 Repository.fast-exported 我

我试图找到快速导出hg存储库的方法,并将结果转储到与快速导出兼容的格式文件中

基本上,我想做与Git或Plastic SCM相同的事情:

git fast-export --all -C --tag-of-filtered-object=drop --signed-tags=strip > Repository.fast-exported


cm fast-export MyProject@PlasticSCMServer:8087 Repository.fast-exported

我知道我可以使用hg-fast-export.py工具()直接将快速导出/快速导入到Git中,但我想知道我是否可以创建转储文件。

你看过吗?
fast export.sh
脚本通过管道将
hg fast export.py
python脚本的输出传输到
git fast import
中来工作。如果您想保存转储文件,只需运行相同的命令并将输出定向到文件。

是的,该工具实际上可以工作,但它使用的是一种称为“inline”的旧文件格式,我正在尝试将Hg存储库移动到Plastic SCM,而Plastic SCM似乎无法管理“inline”格式。