We're in the process of migrating from Subversion to Mercurial. The VisualSVN server we were using produced colored diffs within its notification emails, but I can't find how to reproduce this in Mercurial. I have enabled the color extension on the server, but this has no effect on the emails produced. Any ideas?
Is it possible to have colorized diffs for Mercurial notifications?
198 Views Asked by Darren Oster At
1
There are 1 best solutions below
Related Questions in MERCURIAL
- Permission denied hg-git
- Searching for the change history of partial file or path in Mercurial or TortoiseHg
- TeamCity - Create Project From URL
- Revset filter to show merges / splits of named branches
- How to set up default local push path in Mercurial?
- How do I configure global Mercurial options (like extensions) in Cloudbees Jenkins?
- mercurial - several projects and repositories
- Mercurial: are pre-commit hooks run for other committing commands than "hg ci"
- What is the taskArtifacts folder in my android projet inside my mercurial repository for?
- Mercurial get branch name by changeset
- How to reorder patches of git guilt patch series?
- How to commit many numbered old versions of a file
- Mercurial: Re-merge into branch without new changes
- Hg Mercurial - Upgrading code not in repository
- How do I make a revset alias for tags whose names follow a pattern?
Related Questions in MERCURIAL-HOOK
- Mercurial list files from changegroup
- AWS Linux and Mercurial auto add to environment
- How to create pre-push hook in Mercurial
- Is it possible to have colorized diffs for Mercurial notifications?
- Mercurial: How to post-hook push to Bitbucket?
- How can I share a commit-hook in mercurial with all fellow developers?
- How do I reject pushes to a Mercurial server based on a script, without risking a bad pull during that time?
- What are the hook parameters passed to external hook program/script?
- Mercurial hook that operates like 'changegroup', but only on push?
- Is it possible to specify Windows shell to use when specifying hooks in Mercurial?
- Call a mercurial command ("hg update") from a python hook
- Mercurial hook, when others pull
- A Mercurial update hook to send certain data to a text file
- Reliably run Mercurial's "hg status" from a C# program
- How to prevent a mercurial commit with no files specified (prevent commiting all modified files) using a hook
Related Questions in MERCURIAL-EXTENSION
- Overload the pull command in a Hg extension
- Is it possible to have colorized diffs for Mercurial notifications?
- Can I track last pull in Mercurial?
- How do I make Mercurial require files to have documentation (Javadoc, etc) before pushing?
- Upgrade to TortoiseHg 2.0 breaks svn
- Mercurial - How to push current changeset to default branch
- Mercurial API: How can I get the coming content of the file which was pulled but has not been updated yet?
- How can I set or modify the commit message from a mercurial extension?
- How do I add a command option to an existing command in a Mercurial extension?
- What is the status of the Mercurial Shallow Clone extension?
- '20-byte hash required' message on Mercurial commit
- Is it possible to write a Mercurial to extend standard commands?
- Fold outgoing changesets into a single changeset in mercurial
- How can I store persistent data with a mercurial extension?
- How to extend another extension's command in Hg?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Notifications are sent by a standard hook, which on my Debian system is in
/usr/share/pyshared/hgext/notify.py. It doesn't contain any code to send coloured mail. You could either take a copy and modify it to do colouring, or write a new hook. That could be a shell script using:or you could use the Mercurial Python API.