我是Mercurial的新手,刚在Windows XP上安装了TortoiseHg,我试图将我的(新)回购克隆到我们本地linux服务器上的映射网络驱动器上。我成功地克隆到本地文件夹,但是当我做这样的事情:水银克隆失败:找不到 .hg
hg clone -U Repo Y:\repo_clone
我得到的错误:
The system cannot find the file specified: Y:\repo_clone\.hg
同样的错误,如果我尝试汞初始化的服务器上,而不管我使用的克隆地址(例如\\ linuxserver)。这里发生了什么? \ .hg文件夹确实存在于原始仓库中,并且我对该驱动器有权限。我找不到任何类似的问题,所以也许这与我的本地网络有关?任何想法都很感激!
下面是对汞的init回溯:我没有用在hg clone
的DEST
选项
Y:\>hg init --debug --traceback Y:\Repo_clone
Traceback (most recent call last):
File "mercurial\dispatch.pyo", line 87, in _runcatch
File "mercurial\dispatch.pyo", line 684, in _dispatch
File "mercurial\dispatch.pyo", line 466, in runcommand
File "mercurial\dispatch.pyo", line 738, in _runcommand
File "mercurial\dispatch.pyo", line 692, in checkargs
File "mercurial\dispatch.pyo", line 681, in <lambda>
File "mercurial\util.pyo", line 454, in check
File "mercurial\commands.pyo", line 3659, in init
File "mercurial\hg.pyo", line 104, in peer
File "mercurial\hg.pyo", line 93, in repository
File "mercurial\localrepo.pyo", line 2098, in instance
File "mercurial\localrepo.pyo", line 50, in __init__
File "mercurial\win32.pyo", line 450, in makedir
WindowsError: [Error 2] The system cannot find the file specified: 'Y:\\Repo_clone\\.hg'
abort: The system cannot find the file specified: Y:\Repo_clone\.hg
我试过这与我目前的环境,它的工作原理。您是否有写入Y:\的权限,包括创建新文件夹的权限? –