1. Bitbucket
  2. Public Issue Tracker
  3. master
  4. Issues


Issue #9145 closed

Email Diff Hook doesn't always send emails (chokes on large pushes?) (BB-10287)

Rich Whitsell
created an issue

I know this is one of those intermittent issues that engineers just hate, but the subject says it.

We have a team set up on BitBucket, all contributing to a repo that has a post-commit hook that sends an email diff. The email address for the email diffs is a group alias that our team has used for years. So it's always emailing the same address.

Sometimes the emails come through, and sometimes they don't. It doesn't seem to be associated with any particular user.

Comments (5)

  1. Rich Whitsell reporter

    This may be related to the size of the commit. I'd been doing some project re-organization over the past couple of days which involved moving entire directory structures, which for Mercurial means removing entire sets of files and adding them in the new location (history intact).

    It could be that the email diff hook is breaking over the size of the file list or diffs or both.

    I just did a small commit involving 2 files and got the expected commit diff email.

  2. Erik van Zijst staff

    If there is a large number of changesets in a push, the EmailDiff should truncate the diffs, but still send an email.

    I've been unable to reproduce this, but I'll raise an internal issue for this for further investigation.

  3. Log in to comment