English 中文(简体)
托拉斯 汞可以排放——“系统无法找到具体档案”
原标题:TortoiseHg can t commit--"The system cannot find the file specified"

我刚刚拿到TortoiseHg,用于对视窗的分布源控制,并在我的C轮驱动下安装。 然后我设立了一个存放处(设在D:项目)。

当我试图作这些改动时,这给我留下错误。

"abort: None: The system cannot find the file specified"

“商业”新窗口。 这导致承诺放弃。 它没有具体说明任何档案,而且当我跑回头——收受——它以产出表示:

Traceback (most recent call last):
  File "mercurialdispatch.pyo", line 54, in _runcatch
  File "mercurialdispatch.pyo", line 483, in _dispatch
  File "mercurialdispatch.pyo", line 351, in runcommand
  File "mercurialdispatch.pyo", line 534, in _runcommand
  File "mercurialdispatch.pyo", line 488, in checkargs
  File "mercurialdispatch.pyo", line 481, in <lambda>
  File "mercurialutil.pyo", line 420, in check
  File "mercurialcommands.pyo", line 762, in commit
  File "mercurialcmdutil.pyo", line 1202, in commit
  File "mercurialcommands.pyo", line 757, in commitfunc
  File "mercuriallocalrepo.pyo", line 816, in commit
  File "mercuriallocalrepo.pyo", line 1053, in status
  File "mercurialdirstate.pyo", line 629, in status
  File "mercurialdirstate.pyo", line 540, in walk
  File "mercuriallocalrepo.pyo", line 796, in fail
Abort: Adding: The system cannot find the file specified
abort: Adding: The system cannot find the file specified

我不知道我可以做些什么,不了解该方案的经验。

我已经把汞污染与全球用户名称和储存库混在一起。 此外,Kdiff3被指定为双向合并工具和视力传播工具。 我没有故意改变任何其他环境。

由于得到任何帮助,并请提供更多信息,我不知道在这种情况下会提供什么。

最佳回答

为此:

  1. Remove TortoiseHG
  2. Restart the system (basically to make sure there are no processes from tortoise, such as file monitoring, that can put locks on files)
  3. Intall command line hg
  4. do the regular hg commit -m "yourmessage"

如果这项工作成功,从Tortoise的监测工具越有可能。 在某些档案中(系统拖拉机)有锁。

还有一种情况是,有人正在做的不是(而不是TortoiseHg),例如编辑? 扩散工具? 等等

最后,造成这种情况的另一个原因是:有人用背书档案在www.hgoury中ool。 似乎没有。

问题回答

I m getting acquainted with Hg and trying Tortoise-Hg out and I m running to the same exact issue as the OP. I cloned a repository from one of the open source projects and made some changes to the source. However when I attempt to commit, I get the follow message from the commit dialog window:

abort: 无 该系统无法找到具体档案

Dropping down to commandline and using hg commit -m "message" works. I m using this under Windows 7 64-bit and have tried two versions TortoiseHg 1.1.5 and the latest 1.1.6.1(64-bit version) as of this post.

问题是什么想法? 正如你可以想象的那样,这是一个重大问题,因为我甚至可以做一个最基本的行动,来建立一种需要服从于卡利的版本控制系统。 这有什么错误?

增 编

<>Update: 我已注意到这个问题! 在Tortoise邮寄汞清单方面进行了一些合作之后,我发现这一错误的根源。 这一错误之所以发生,是因为当侵权行为试图实施时,它就没有超出该指挥线的参数。

如果你确定你的存放场所,“共同”;Auto Commit List to 无。 固定装置是简单的——确保《自动清单》和《自动排出清单》均被定下来;不明确。 检查你们的全球环境,确保这两个领域都以同样的方式确定。

此外,看您的自动清单和自动清单是否适当分类

hg showconfig --debug tortoisehg

如果它包含一条这样的内容:

mercurial.ini:15: tortoisehg.autoinc=None

然后,适当配置了侵权行为。

我希望这能解决被占领土和正在处理这一问题的其他各方的问题,并拉开他们的头发,试图解决这一问题。





相关问题
Can I clone part of a Mercurial repository?

Is it possible to clone part of a Mercurial repository? Let s say the repository is quite large, or contains multiple projects, or multiple branches. Can I clone only part of the repository? E.g. in ...

Sync files in Two Different Repos using HG

I ve got a problem when I try to sync files in two different repos. What I want to do is: I ve got 2 repos A and B, and they share some common files, suppose they lie in A/docs/common/ and B/docs/...

Tips on upgrading CVS to git/hg?

We still use CVS, I use git and hg for my personal use though I m still a novice at both, but I realize they re much more modern and better, faster, distributed, etc. It s just everyone is so ...

git for mercurial like git-svn

Hello is there a tool for git that allow to work with mercurial repositories F.e. for svn there is a git-svn package, that allows to clone/commit/update from svn and work in a git way.. So is there ...

Useful Mercurial Hooks [closed]

What are some useful Mercurial hooks that you have come across? A few example hooks are located in the Mercurial book: acl bugzilla notify check for whitespace I personally don t find these very ...

热门标签