1. TortoiseHg
  2. TortoiseHg
  3. thg
Issue #208 duplicate

Visual Diff fails with Binary Files

Anonymous created an issue

I reported error 195 and if I understand the response it was a duplicate of 181 and has been solved. I did not report how I get the error. After reinstalling version 2 (Mercurial-1.8, Python-2.6.6, PyQt-4.8.2, Qt-4.7.1) I am still getting the error. Follow is the details on how I get the error. I have multiple revisions a Microsoft Word document in the repository. These files look like binary files to TortoiseHg. When I open Workbench and double click on a version of the word document I get the “Visual Diffs” dialog box with beyondcompare3 in the “Select Tool” text box and the “Directory diff” button. When I click on the “Directory diff” button I get the following error message in a “TortoiseHg Bug Report” dialog box with “Ok”, “Save”, and “Quit” buttons.

{{{

!python

Please report this bug to http://bitbucket.org/tortoisehg/thg/issues Mercurial version (1.8). TortoiseHg version (2.0) Command: --nofork workbench CWD: C:\Working Extensions loaded: fixfrozenexts Python version: 2.6.6 (r266:84297, Aug 24 2010, 18:46:32) [MSC v.1500 32 bit (Intel)] Windows version: (6, 1, 7601, 2, 'Service Pack 1') Processor architecture: x86 ** Qt-4.7.1 PyQt-4.8.2 TypeError: p1dirdiff() takes exactly 2 arguments (1 given) }}}

Clicking the “Ok” button return to the “Visual Diffs” dialog box.

I added text versions of the file to the repository and the “Visual Diffs” work as expected. The previsions version of Tortoisehg (tortoisehg-1.1.9.1-hg-1.7.5-x86.msi) does display the Word documents in beyondcompare3.

Comments (1)

  1. Log in to comment