Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7020279
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T23:17:54+00:00 2026-05-27T23:17:54+00:00

My project uses hgext.notify. Currently incoming.notify = separate messages on every changeset. Considering changegroup

  • 0

My project uses hgext.notify. Currently incoming.notify = separate messages on every changeset. Considering changegroup notify, but even that contains info about every changeset, just all in one big email.

Here’s the problem:

My work style is “check in early and often”. I make many small checkins, usually on branches. Task branches. Eventually integrated.

My teammates do not like seeing messages for all of my checkins on my task branches.

We are considering using a history editing extension like collapse or histedit to reduce the verbosity – but I dislike losing history. I just want not to bother them with every individual changeset.

Q: is there a way, some configuration for an existing hook, or some alternate hg extension, that can be set up to do notifies as folllws;

  1. a single message per changegroup (that’s okay)

  2. a single user provided message per changegroup – not just concatenation of all the branch changeset messages

  3. filter out only the changest messages for, say, the trunk (the default branch in hg parlance). I.e. leave the branch changeset messages in, but don’t send email.

    (Note: my pushes typically involve several changesets on a branch, and then a merge onto default. So it is not enough to just filter the entire changegroup in or out according to what branches are affected.)

  4. diffstats not between the tip and every changest on the branch, but just between “important” changesets on the trunk (default branch) – which may be evety changest on the trunk.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T23:17:54+00:00Added an answer on May 27, 2026 at 11:17 pm

    I’m afraid no such extension exists. The notify extension is just a basic way to send off emails with a little room for customization.

    It sounds like you have a particular idea about what you want. I suggest you see if you can formulate it as a revision set and then simply use hg log in a changegroup hook. Pipe the output to mail and you’ve got yourself a very simple notify extension that you can customize to your hearts content!

    What I’m saying is that the notify extension is not that complex and in many cases it can be replaced by a suitable invocation of hg log. You can even use a custom template for hg log if you want to change the output more than what hg log -v or hg log --patch does.

    The tricky part (and the part that’s not entirely clear from your question) is to filter out exactly the right changesets. You mention “important” changesets in point 4 above, but I’m not entirely sure what makes a changeset “important”. If it is important when it’s a merge from a feature branch into default, then something like this might be a start:

    hg log -r "$HG_NODE:tip and children(not branch(default)) and branch(default)"
    

    By taking the child changesets of the non-default changesets and intersecting with changesets on the default, we get exactly the merge points where feature branches were integrated.

    I’m sorry the answer is so generic, but I think you’re best off with writing a small custom shell script for what you want.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My project uses ant, I would like to check parameters that inside antcall, but
Our project currently uses Crystal Reports for Visual Studio 2008. We need to upgrade
I inherited a project that uses SQL Server 200x, wherein a column that stores
I have Midas project that uses a TDataSetProvider in one of RemoteDataModules in the
In a C++ project that uses smart pointers, such as boost::shared_ptr , what is
The idea is that an existing project uses timeGetTime() (for windows targets) quite frequently.
I'm working on a multithreaded (pthread based) project. The project uses a library that
I am working on a large project that uses the STL and have a
Currently an EJB / Web Application project uses a JBoss-specific JNDI configuration file, placed
My project uses jQuery 1.4.2. I've got some security information that I add to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.