当前位置: 动力学知识库 > 问答 > 编程问答 >

Clone last N changesets (mercurial)

问题描述:

I have big repository.

 ...

|

601

|

602

| \

606 603

| |

607 604

| |

608 605

| \ |

610 609

I need create new repository after changeset 601.

How i can do it?

网友答案:

This is not available in Mercurial. There was a project called Shallow Clones but it seems it has been abandoned.

However this questions has been asked already on SO and you will find some good leads/workarounds here:

Can I clone just the latest changesets of a repository instead of the entire history?

Hope it'll help.

网友答案:

You can't clone part of history, but you can try bundle|unbundle cycle (and yes, when you'll unbundle into the empty repo, some headaches are expected)

分享给朋友:
您可能感兴趣的文章:
随机阅读: