-1

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?

vovkas
  • 1,033
  • 10
  • 20

2 Answers2

0

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.

Community
  • 1
  • 1
Christophe Muller
  • 4,290
  • 1
  • 22
  • 30
0

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)

Lazy Badger
  • 91,325
  • 7
  • 76
  • 105