0
我有一個大的(〜700MB)Mercurial存儲庫。我可以克隆回購罰款不更新(也是它完全可瀏覽的到位桶,它託管在哪裏),但我不能更新工作目錄,以最新的變更,因爲我得到以下錯誤:「中止:系統找不到指定的文件」在Mercurial
... lot of getting [path] lines here
getting path/to/some/file.ext
abort: The system cannot find the file specified
[command returned code 255 Wed Jun 24 00:51:37 2015]
最後文件在錯誤實際存在於回購之前(它也可以在Bitbucket中看到)。
我認爲這個問題是由於路徑太長,但即使克隆到驅動器根也會產生相同的結果。路徑可能仍然太長,但「path/to/some/file.ext」只有60個字符。
運行與追蹤命令產生這樣的:
Traceback (most recent call last):
File "mercurial\dispatch.pyo", line 160, in _runcatch
File "mercurial\dispatch.pyo", line 885, in _dispatch
File "mercurial\dispatch.pyo", line 646, in runcommand
File "mercurial\dispatch.pyo", line 976, in _runcommand
File "mercurial\dispatch.pyo", line 947, in checkargs
File "mercurial\dispatch.pyo", line 882, in <lambda>
File "mercurial\util.pyo", line 716, in check
File "mercurial\extensions.pyo", line 168, in closure
File "mercurial\util.pyo", line 716, in check
File "hgext\mq.pyo", line 3505, in mqcommand
File "mercurial\util.pyo", line 716, in check
File "mercurial\commands.pyo", line 6402, in update
File "mercurial\hg.pyo", line 535, in clean
File "mercurial\hg.pyo", line 520, in updaterepo
File "mercurial\merge.pyo", line 1140, in update
File "mercurial\merge.pyo", line 772, in applyupdates
File "mercurial\subrepo.pyo", line 246, in submerge
File "mercurial\context.pyo", line 252, in sub
File "mercurial\subrepo.pyo", line 341, in subrepo
File "mercurial\subrepo.pyo", line 1206, in __init__
File "mercurial\subrepo.pyo", line 1216, in _ensuregit
File "mercurial\subrepo.pyo", line 1294, in _gitnodir
File "subprocess.pyo", line 710, in __init__
File "subprocess.pyo", line 958, in _execute_child
WindowsError: [Error 2] The system cannot find the file specified
一個主意任何人如何解決這個問題?
你能寫這個回購的網址嗎?我想,你的問題是不長的PATH,但共同的git-subrepo(在快速讀取回溯輸出後) - 在缺少本地Git可執行文件 –
謝謝!你可能是對的:回購確實有git subrepos(這些是GitHub上的公共回購)。不幸的是我不能分享回購。順便說一句,hg-git適用於我,否則,我可以從hg中拉出並推送到git repos。 – Piedone