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 branche开发者_如何学Cs 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?
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
Closing the branches may not be enough. Try closing, then merging the branch.
精彩评论