Houman
Houman

Reputation: 66320

mercurial: How to archive up to the latest changeset?

I have a weird situation here:

when I go on my hg server and do a

sudo hg archive /project/export

It archives it, but in the hidden .hg_archival.txt file I see

branch: default
latesttag: null
latesttagdistance: 31

But the latest checkin was 33. Which seems ignored.

Previously I had to remove changeset 32

hg clone <old repo> <new repo> -r 31

And added later two new checkins...

Could this be the reason for the hickup? What can I do?

Thanks,

Upvotes: 0

Views: 440

Answers (1)

Mark Tolonen
Mark Tolonen

Reputation: 177471

You likely aren't updated to the tip. Run hg parent. hg archive will archive the current parent, so you are probably on local revision 31, not 33. After you cloned to 31 and pulled the new checkins, did you hg update?

Upvotes: 3

Related Questions