Jason Young
Jason Young

Reputation: 3743

Why are my mercurial bundles including "extra revisions"

We use bundles to synchronize our mercurial repositories over email.

For the past few hundred revisions, we've noticed the bundle size is typically around 600k, no matter what we include. It appears that Mercurial is including revisions other than what we're specifying. I theorized that it was from open branches, but closing all of our branches didn't fix it. When I create a bundle for the latest revision, it says that it includes 5 revisions.

I would normally expect our bundles to only be a few dozen kilobytes.

Under what circumstances would Mercurial include other revisions in a bundle?

Upvotes: 1

Views: 587

Answers (2)

Ry4an Brase
Ry4an Brase

Reputation: 78350

Have you looked inside the resulting bundles to see what changesets are in there. You can do that with the incoming command on the receiving repo. Here are some tips:

https://www.mercurial-scm.org/wiki/LookingIntoBundles

Upvotes: 1

djc
djc

Reputation: 11731

Closing the branches may not be enough. Try closing, then merging the branch.

Upvotes: 0

Related Questions