如何使用tortoiseSVN或tortoiseHG中的当前更改来克隆codeplex代码

时间:2012-10-27 09:31:58

标签: asp.net mercurial codeplex

我想通过此更改下载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 .. 如何通过最近的更改在我的计算机上获取代码。

1 个答案:

答案 0 :(得分:1)

  • 这是一个善变的回购,你必须只使用hg
  • 这是一个很大的回购,对于这样的情况,克隆到一些非尖端修订版和拉动套可能更好(-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]