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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T02:28:12+00:00 2026-06-12T02:28:12+00:00

How can I configure Perforce to use the tool TortoiseMerge for diff and merging?

  • 0

How can I configure Perforce to use the tool TortoiseMerge for diff and merging?


I tried arguments

/base:%1 /mine:%2

enter image description here

following http://tortoisesvn.net/docs/release/TortoiseMerge_en/tme-automation.html and http://www.perforce.com/perforce/doc.current/manuals/p4v/Configuring_display_preferences.html#Diff . The Perforce docs say

Specify arguments for third-party diff applications in the Arguments field:
Enter %1 for the name of the first file and %2 for the name of the second file. P4V replaces these placeholders with the actual filenames when calling the diff application.

Yet when I try it, TortoiseMerge errors “Can’t open file %1” suggesting P4V didn’t replace the arguments and left %1 as is

enter image description here

  • 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-06-12T02:28:13+00:00Added an answer on June 12, 2026 at 2:28 am

    Sadly P4V’s argument replacement is broken. You can use TortoiseMerge for diffing, but not merging.

    To set up TortoiseMerge for diffing, use the argument string %1 %2

    enter image description here

    The correct arguments for merging would be

    /base:%b /theirs:%1 /mine:%2 /merged:%r
    

    However it gives this error

    enter image description here

    Presumably what’s happening is that P4V fails to replace the ‘%b’ in /base:%b with the appropriate file path.

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

Sidebar

Related Questions

Can I configure the VS.NET 2008 IDE to use gcc as a compiler?
how i can configure the Test Project of visual studio to use all CPU's
Could somebody please tell me how I can configure iReport 3.5 (nb) to use
For example, I use mobylette gem and it's documentation says that I can configure
In IIS I can configure my custom error pages. For each HTTP Error code
I know I can configure command line arguments in the Run configuration but I
In weblogic I can configure in the console for the Serverlog to use log4j
It is my understanding I can configure AutoMapper in the following way and during
I know I can configure tt_news to automatically set author and email to a
The users of my app can configure the layout of certain files via a

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.