Vio*_*ffe 4 mercurial subrepos mercurial-subrepos
我多年来一直使用以下行.hgsub:
setup/help = https://my.repo.com/manuals
Run Code Online (Sandbox Code Playgroud)
它将名为“ manuals”的存储库help放入另一个文件夹内的一个文件夹中setup。所以我的父存储库结构如下所示:
.hg
setup
|__help
| |__.hg
|
.hgsub
Run Code Online (Sandbox Code Playgroud)
在我今天更新到Mercurial 4.9之前,这没有问题,它现在说:“子仓库路径包含非法组件:安装程序/帮助”,我什至无法提交主仓库。水星现在禁止这样做吗?有有效的.hgsub语法可以使这项工作吗?我不想help成为主项目文件夹的直接子代。我以前的Mercurial版本是4.5,这不像我在使用古老的工具...
根据请求进行错误回溯:
Traceback (most recent call last):
File "mercurial\scmutil.pyo", line 165, in callcatch
File "mercurial\dispatch.pyo", line 367, in _runcatchfunc
File "mercurial\dispatch.pyo", line 1021, in _dispatch
File "mercurial\dispatch.pyo", line 756, in runcommand
File "mercurial\dispatch.pyo", line 1030, in _runcommand
File "mercurial\dispatch.pyo", line 1018, in <lambda>
File "mercurial\util.pyo", line 1670, in check
File "mercurial\commands.pyo", line 4621, in push
File "mercurial\context.pyo", line 277, in sub
File "mercurial\subrepo.pyo", line 164, in subrepo
File "mercurial\subrepo.pyo", line 414, in __init__
Abort: subrepo path contains illegal component: setup/help
abort: subrepo path contains illegal component: setup/help
Run Code Online (Sandbox Code Playgroud)
小智 5
我遇到了同样的错误,因此我克隆了Mercurial存储库...
该错误是在标记的版本4.9 subrepo.py中引入的。
大约一个月后,版本41583(87a6e3c953e045d92147925fc71aad7c327fdbfd)得到了更正。我在实际的默认分支上进行了测试,可以再次使用!
因此,无需输入错误,我们只需等待下一个版本。
| 归档时间: |
|
| 查看次数: |
351 次 |
| 最近记录: |