当我进行初始提交时,出现错误 255。 Mercurial TortoiseHg

Posted

技术标签:

【中文标题】当我进行初始提交时,出现错误 255。 Mercurial TortoiseHg【英文标题】:I got error 255 , when i doing initial commit. Mercurial TortoiseHg 【发布时间】:2021-07-09 09:58:03 【问题描述】:

美好的一天。请告诉我,为什么我有错误 255,当我进行初始提交时,scr 出现错误。当我提交 2-4 个文件的一部分时,它可以工作,而当所有文件都完整时,它会出错。

src error 255

在另一台服务器上一切都很好。告诉我可能是什么问题? 服务器数据:Apache 2.4.41、php 7.4.3、mysql Ver 8.0.22-0、NodeJS v15.8.0、Samba、ubuntu 20.04

错误文本

** unknown exception encountered, please report by visiting
** https://mercurial-scm.org/wiki/BugTracker
** Python 2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 20:53:40) [MSC v.1500 64 bit (AMD64)]
** Mercurial Distributed SCM (version 5.0.2)
** Extensions loaded: tortoisehg.util.hgcommands, tortoisehg.util.partialcommit, tortoisehg.util.pipeui, tortoisehg.util.win32ill, tortoisehg.util.hgdispatch
** unknown exception encountered, please report by visiting
** https://mercurial-scm.org/wiki/BugTracker
** Python 2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 20:53:40) [MSC v.1500 64 bit (AMD64)]
** Mercurial Distributed SCM (version 5.0.2)
** Extensions loaded: tortoisehg.util.hgcommands, tortoisehg.util.partialcommit, tortoisehg.util.pipeui, tortoisehg.util.win32ill, tortoisehg.util.hgdispatch
Traceback (most recent call last):
  File "hg", line 50, in <module>
  File "mercurial\dispatch.pyo", line 99, in run
  File "mercurial\dispatch.pyo", line 225, in dispatch
  File "mercurial\dispatch.pyo", line 376, in _runcatch
  File "mercurial\dispatch.pyo", line 384, in _callcatch
  File "mercurial\scmutil.pyo", line 167, 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 1680, in check
  File "mercurial\commands.pyo", line 5300, in serve
  File "mercurial\server.pyo", line 147, in runservice
  File "mercurial\commandserver.pyo", line 405, in run
  File "mercurial\commandserver.pyo", line 346, in serve
  File "mercurial\commandserver.pyo", line 319, in serveone
  File "mercurial\commandserver.pyo", line 303, in runcommand
  File "mercurial\dispatch.pyo", line 225, in dispatch
  File "mercurial\dispatch.pyo", line 376, in _runcatch
  File "mercurial\dispatch.pyo", line 384, in _callcatch
  File "mercurial\scmutil.pyo", line 167, in callcatch
  File "mercurial\dispatch.pyo", line 367, in _runcatchfunc
  File "tortoisehg\util\hgdispatch.pyo", line 23, in _dispatch
  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 1680, in check
  File "mercurial\util.pyo", line 1680, in check
  File "tortoisehg\util\partialcommit.pyo", line 34, in partialcommit
  File "mercurial\util.pyo", line 1680, in check
  File "mercurial\commands.pyo", line 1647, in commit
  File "mercurial\commands.pyo", line 1722, in _docommit
  File "mercurial\cmdutil.pyo", line 2434, in commit
  File "mercurial\commands.pyo", line 1720, in commitfunc
  File "mercurial\localrepo.pyo", line 177, in wrapper
  File "mercurial\localrepo.pyo", line 2548, in commit
  File "mercurial\localrepo.pyo", line 177, in wrapper
  File "mercurial\localrepo.pyo", line 2622, in commitctx
  File "mercurial\localrepo.pyo", line 2434, in _filecommit
  File "mercurial\filelog.pyo", line 135, in add
  File "mercurial\filelog.pyo", line 106, in addrevision
  File "mercurial\revlog.pyo", line 1905, in addrevision
  File "mercurial\revlog.pyo", line 1916, in addrawrevision
  File "mercurial\revlog.pyo", line 544, in _indexfp
  File "mercurial\store.pyo", line 571, in __call__
  File "mercurial\vfs.pyo", line 420, in __call__
  File "mercurial\util.pyo", line 2314, in makedirs
WindowsError: [Error 50] : '\\\\vsrvdev1\\web\\sez\\dev\\.hg/store\\data/~f4~fb~e2'
cmdserver: процесс завершился неожиданно с кодом 255

【问题讨论】:

这似乎与help center 中记录的主题无关。也请don't upload text as image. ok,添加文字错误 能否请您添加您使用的确切 hg 命令?或者准确描述您在 THG 中所做的事情? @OlafKock 是什么让你说这是题外话? @StayOnTarget 听起来不错。我撤回了我的近距离投票,并删除了 apache 和 ubuntu 标签,因为它们与问题无关。根据这些标签的定义,这个问题将是题外话。我很满意它与其他标签的主题。 【参考方案1】:
    不要在远程共享中存储 任何 repo,因为额外的(不需要的)网络层会让您头疼。 所有“服务器数据”都与 Samba 共享问题无关

【讨论】:

以上是关于当我进行初始提交时,出现错误 255。 Mercurial TortoiseHg的主要内容,如果未能解决你的问题,请参考以下文章

如何使用 Composer 和 Symfony 解决错误 255 [关闭]

当我提交我的应用程序时,IOS 在 iTunes Connect 上返回崩溃错误。离子 3

Makefile 问题:错误 127、255,在 makefile 中运行程序

在 4.2 中提交 App Store:XCode 提交验证中出现奇怪的“空白”错误

当我将拓扑提交给风暴时,我从“ lein”中得到一个错误]]

提交表单时出错