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 6583107
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T16:21:58+00:00 2026-05-25T16:21:58+00:00

In Git one can specify these in .gitattributes and perform some additional configuration: git

  • 0

In Git one can specify these in .gitattributes and perform some additional configuration:

git config diff.difftool.command ...
git config merge.mergetool.driver ...

In Mercurial it is possible to specify patterns in hgrc file ([diff-patterns] and [merge-patterns] sections).

How to achieve this in Subversion?

  • 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-25T16:21:58+00:00Added an answer on May 25, 2026 at 4:21 pm

    The red-book for Subversion (normally the source of all knowledge) is not too specific here. It names that there is the option to configure diff-cmd and diff3-cmd and that it is possible to add extensions to the call.

    However, it states the following:

    The decision on when to fire off a contextual two- or three-way diff as part of a larger Subversion operation is made entirely by Subversion and is affected by, among other things, whether the files being operated on are human-readable as determined by their svn:mime-type property. This means, for example, that even if you had the niftiest Microsoft Word-aware differencing or merging tool in the universe, it would never be invoked by Subversion as long as your versioned Word documents had a configured MIME type that denoted that they were not human-readable (such as application/msword).

    It does not say how to influence that decision 🙁

    If you are using the tool TortoiseSVN, there are configuration options included to specify the used diff tool per mime-type of the file under consideration. The path to that configuration is: TortoiseSVN > Settings > External Programs > Diff Viewer > Advanced.... Perhaps that is an option for you.


    My personal opinion here is that the subversion team thinks that you should use a wrapper as diff-tool anyway, and to do there the decision what tool to use with which specific configuration based on the mime-type.

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

Sidebar

Related Questions

Git has a much-touted(?) octopus-merge capability that can merge many heads into one. But
Does anyone know how one can restrict push to some git repository branch based
How can you use Git without Sudo in multiple accounts in one Ubuntu? My
I wanted to use one of the Git-completion.bash features but I can't customize the
Some Git commands take commit ranges and one valid syntax is to separate two
How can you merge two branches in git, retaining necessary files from a branch?
I would appreciate if some one can figure how to clean screen when I
I'm basically wondering if, in a Jenkins project configuration, one can refer to a
I am trying to execute a command in Node: cd /www/foo/ && /path/to/git/bin/git.exe config
I had one Git repository (A) which contains the development of a project until

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.