【问题标题】:How to clone codeplex code with current changes in tortoiseSVN or tortoiseHG如何使用 tortoiseSVN 或 tortoiseHG 中的当前更改克隆 codeplex 代码
【发布时间】:2012-10-27 09:31:58
【问题描述】:

我想通过这个更改下载 nopcommorce 的代码

http://nopcommerce.codeplex.com/SourceControl/changeset/f438f188fa4e

为此,我将克隆代码,而不是克隆。我得到了错误

% hg clone --verbose -- https://hg.codeplex.com/nopcommerce .
requesting all changes
adding changesets
adding manifests
adding file changes
transaction abort!
rollback completed
abort: stream ended unexpectedly (got 1718536 bytes, expected 3694604)
[command returned code 255 Sat Oct 27 14:51:03 2012]
% hg clone --verbose -- https://hg.codeplex.com/nopcommerce .
requesting all changes
adding changesets
adding manifests
adding file changes
transaction abort!
rollback completed
abort: stream ended unexpectedly (got 997670 bytes, expected 5238782)
[command returned code 255 Sat Oct 27 14:53:37 2012]

谁能告诉我如何让它工作。我同时安装了 tortoseHG 和 tortoiseSVN .. 如何通过最近的更改在我的计算机上获取代码。

【问题讨论】:

    标签: asp.net mercurial codeplex


    【解决方案1】:
    • 这是 mercurial repo,你只能使用 hg
    • 这是一个很大的 repo,对于这种情况,克隆到一些非尖端的修订和一组 pull 可能会更好(克隆|pull 的 -r 选项)

    % hg clone --verbose -- https://hg.codeplex.com/nopcommerce .

    requesting all changes

    adding changesets

    adding manifests

    adding file changes

    added 3021 changesets with 54579 changes to 15033 files (+6 heads)

    ...

    4280 files updated, 0 files merged, 0 files removed, 0 files unresolved

    [command completed successfully Sat Oct 27 15:48:37 2012]

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-05-01
      • 2020-12-16
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多