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

  • Home
  • SEARCH
  • 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 6729223
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T10:15:49+00:00 2026-05-26T10:15:49+00:00

I have a pre-diff hook in my hg setup but it is not being

  • 0

I have a pre-diff hook in my hg setup but it is not being executed when I try to commit my changes.

What I’m trying to do is generate the database schema file before commit so that it will appear in the list of changes.

I also have an update hook which works fine. Is TortoiseHG not performing an hg diff command? Which hook could I use instead?

  • 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-26T10:15:50+00:00Added an answer on May 26, 2026 at 10:15 am

    TortoiseHg (as of v2.1.4) performs diffs in at least 3 ways, none of which use a raw hg diff command:

    1. In the “Revision Details” window of the Workbench, there is a file-level unified diff shown. This diff is obtained through mdiff.unidiff method in mdiff.py. This method bypasses the hook mechanism.
    2. If a changeset (or range of changesets) is selected in the revision graph, the user can ask for a “Visual Diff”. This method copies the files from the selected revisions to a temporary directory and then compares them with an external visual diff tool. This method also bypasses the hook mechanism.
    3. In the “Manifest” view, you can select a file, right-click and “Compare file revisions”. This uses a custom visual diff utility which also bypasses the hook mechanism.

    As far as I know, TortoiseHg does not expose any hooks for its diff mechanism.

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

Sidebar

Related Questions

I want to have a pre-commit hook check if the current commit is a
I have a pre-existing user database on my site. Now, I want to install
Folks, My Issue Why is an HSQLDB file-based database I have pre-populated with a
I have a pre-existing mysql database containing around 50 tables. Rather than hand code
I have a pre-baked sqlite database that I want to use in my Android
I am currently trying to extend our already existing (and working) pre commit batch
I have a pre-existing database, and this code: class User private() extends MongoRecord[User] with
I have pre populated database of around 25 MB, which needs to be copied
I have a pre-constructed array created from some test data as I have not
I want to have pre populated db with data for my application. but i

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.