Author Topic: V17 vsdiff badness  (Read 5698 times)

astromme

  • Senior Community Member
  • Posts: 155
  • Hero Points: 1
V17 vsdiff badness
« on: June 27, 2012, 11:10:39 PM »
I configured TortoiseHg to use vsdiff as the default diff tool.  When I try to diff my working copy against the current update, two single button dialogs open:

The first is titled "SlickEdit" with the text "No Files match these parameters"

The second is titled "Multi-File Diff Progress" with the text "Filtering files"

If I use Process Explorer from the SysInternals Suite, it appears the call to vsdiff has the correct arguments, but another call to vs with diff as an argument appends *.* to the first path.  I'm assuming this interferes with correct operation.

Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2903
  • Hero Points: 153
Re: V17 vsdiff badness
« Reply #1 on: July 06, 2012, 06:28:58 PM »
Sorry for the slow response -what are the arguments being passed before the * is incorrectly appended?

astromme

  • Senior Community Member
  • Posts: 155
  • Hero Points: 1
Re: V17 vsdiff badness
« Reply #2 on: July 06, 2012, 06:45:43 PM »
Command lines copied from Process Explorer.

The vsdiff command line:

"C:\Program Files\SlickEditV17.0.0\win\vsdiff.exe" "c:\docume~1\astromme\locals~1\temp\thg.9o_8ud\Project.17.582" "c:\docume~1\astromme\locals~1\temp\thg.9o_8ud\Project.17.583"

The vs command line:

"C:\Program Files\SlickEditV17.0.0\win\vs.exe"  +new -q -st 0 -mdihide -p diff -modal -restorefromini  c:\docume~1\astromme\locals~1\temp\thg.9o_8ud\Project.17.582\*.* c:\docume~1\astromme\locals~1\temp\thg.9o_8ud\Project.17.583\

Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2903
  • Hero Points: 153
Re: V17 vsdiff badness
« Reply #3 on: July 06, 2012, 07:13:04 PM »
"c:\docume~1\astromme\locals~1\temp\thg.9o_8ud\Project.17.582"  is a file, not a directory, correct?

astromme

  • Senior Community Member
  • Posts: 155
  • Hero Points: 1
Re: V17 vsdiff badness
« Reply #4 on: July 06, 2012, 07:19:29 PM »
Incorrect - both arguments to vsdiff.exe happen to be directories.

Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2903
  • Hero Points: 153
Re: V17 vsdiff badness
« Reply #5 on: July 06, 2012, 07:20:12 PM »
Is it possible that all of the files match?

astromme

  • Senior Community Member
  • Posts: 155
  • Hero Points: 1
Re: V17 vsdiff badness
« Reply #6 on: July 06, 2012, 07:28:09 PM »
Not in this case.  I switch to TortoiseHg's "built-in" diff tool kdiff3 and it displays the expected difference tree.

For kicks, I copied that invocation:

"C:\Program Files\TortoiseHg\kdiff3.exe" --L1 "@582:cb84c3db005a" --L2 "@583:351be33f400b" "c:\docume~1\astromme\locals~1\temp\thg.9o_8ud\Project.24.582" "c:\docume~1\astromme\locals~1\temp\thg.9o_8ud\Project.24.583"

Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2903
  • Hero Points: 153
Re: V17 vsdiff badness
« Reply #7 on: July 06, 2012, 07:38:22 PM »
Ah... They are directories, with no files in them (but have other directories), right?

astromme

  • Senior Community Member
  • Posts: 155
  • Hero Points: 1
Re: V17 vsdiff badness
« Reply #8 on: July 06, 2012, 07:39:13 PM »
Correct.. I was about to make another post and tack that tidbit on.

Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2903
  • Hero Points: 153
Re: V17 vsdiff badness
« Reply #9 on: July 06, 2012, 07:39:45 PM »
OK.  I'm on it.

astromme

  • Senior Community Member
  • Posts: 155
  • Hero Points: 1
Re: V17 vsdiff badness
« Reply #10 on: July 06, 2012, 07:40:16 PM »
Although at one point i created a couple of empty files in the roots of each of those directories, and it appeared to fail the same way..

Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2903
  • Hero Points: 153
Re: V17 vsdiff badness
« Reply #11 on: July 06, 2012, 07:52:29 PM »
I have a fix - would you like to test it?  I can send you the vsdiff.exe.

astromme

  • Senior Community Member
  • Posts: 155
  • Hero Points: 1
Re: V17 vsdiff badness
« Reply #12 on: July 06, 2012, 08:01:10 PM »
Yes, please do.  My account email should be up to date.