【发布时间】:2014-06-22 01:55:01
【问题描述】:
当我运行git tfs fetch 时,没有输出。它似乎没有从 tfs 服务器中提取任何新的变更集。然后我运行git tfs fetch -d 并得到以下输出:
C:\projects\Infinity>git tfs fetch -d
Command run:git tfs fetch -d
No authors file used.
git-tfs version 0.19.2.0 (TFS client library 12.0.0.0 (MS)) (32-bit)
Fetching from TFS remote default
git command: Starting process: git log --no-color --pretty=medium refs/remotes/tfs/default --
git command time: [00:00:00.0330000] log --no-color --pretty=medium refs/remotes/tfs/default --
git command: Starting process: git log --no-color --pretty=medium refs/remotes/tfs/default..HEAD --
git command time: [00:00:00.0210000] log --no-color --pretty=medium refs/remotes/tfs/default..HEAD --
info: refs/remotes/tfs/default: Getting changesets from 60 to current ...
Cleaning...
CleanupWorkspaceDirectory: Could not find a part of the path 'C:\projects\Infinity\.git\tfs\default\workspace'.
我不明白的第一件事是 ...Getting changesets from 60 to current ... TFS 存储库当前位于变更集 59 上,当我克隆存储库时,它位于变更集 57 上。所以在获取时,我应该得到将 58 更改为当前...
第二件事是它给我的最后一个错误。谁能解释CleanupWorkspaceDirectory 错误是怎么回事?
编辑:
我忘记提及的另一件事是,我已经向存储库添加了另一个 git 远程,并且我已将 refs/remotes/tfs/default 中的内容与我从 git 存储库中检索到的分支合并。不确定这是否会导致 git-tfs 中的某些内容中断...
【问题讨论】:
标签: git-tfs