Author Topic: Diffzilla finds no difference when comparing directories (bug?)  (Read 3570 times)

muravjov

  • Community Member
  • Posts: 9
  • Hero Points: 0
Hello,

I try SlickEdit 2013 (v18.0.1.2 64-bit) in Ubuntu 13.04. I compare two directories with different files but Diffzilla shows "No more differences":

/opt/slickedit2013/bin/vsdiff demo real

Example files are in the attachment.

Regards,
 Ilya, Slickedit 2008 user

Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2896
  • Hero Points: 153
Re: Diffzilla finds no difference when comparing directories (bug?)
« Reply #1 on: March 12, 2014, 01:47:22 PM »
If you right-click in the dialog, what types of files do you have selected?

muravjov

  • Community Member
  • Posts: 9
  • Hero Points: 0
Re: Diffzilla finds no difference when comparing directories (bug?)
« Reply #2 on: March 12, 2014, 02:27:57 PM »
If you right-click in the dialog, what types of files do you have selected?
At first I see the standard message box with "No more differences" (no right-click there). Next dialog, the two-panel one (after OK) has not types of files field after right-click, see the screenshot "show_matched.png".

Anyway, I ran the modified command:
 /opt/slickedit2013/bin/vsdiff -filespec "*" demo real
to exclude possible faults with types of files. And after selecting "Show matching files" Diffzilla treats them matched (it is not true).

muravjov

  • Community Member
  • Posts: 9
  • Hero Points: 0
Re: Diffzilla finds no difference when comparing directories (bug?)
« Reply #3 on: March 12, 2014, 02:30:38 PM »
But! If I select directories from GUI (not from command line) everything is ok. :(

Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2896
  • Hero Points: 153
Re: Diffzilla finds no difference when comparing directories (bug?)
« Reply #4 on: March 12, 2014, 02:53:38 PM »
Are there other files in this same directory, or is the problem that it didn't recurse?

muravjov

  • Community Member
  • Posts: 9
  • Hero Points: 0
Re: Diffzilla finds no difference when comparing directories (bug?)
« Reply #5 on: March 12, 2014, 03:01:56 PM »
No, there are two directories with two files in each one. Diffzilla did recurse but treats files as matched.


$ LANG=C ls -lR
.:
total 8
drwxrwxr-x 2 muravyev muravyev 4096 Mar 12 14:50 demo
drwxrwxr-x 2 muravyev muravyev 4096 Mar 12 14:50 real

./demo:
total 2100
-rw-rw-r-- 1 muravyev muravyev 2149984 Mar 12 14:47 lib.so_2

./real:
total 2100
-rw-rw-r-- 1 muravyev muravyev 2149984 Mar 12 14:48 lib.so_2

Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2896
  • Hero Points: 153
Re: Diffzilla finds no difference when comparing directories (bug?)
« Reply #6 on: March 12, 2014, 03:10:14 PM »
But they don't match?  I'm noticing that they're the same size.

muravjov

  • Community Member
  • Posts: 9
  • Hero Points: 0
Re: Diffzilla finds no difference when comparing directories (bug?)
« Reply #7 on: March 12, 2014, 07:29:29 PM »
No, they don't match.
You can check it, just download diff.zip from my starting post.

Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2896
  • Hero Points: 153
Re: Diffzilla finds no difference when comparing directories (bug?)
« Reply #8 on: March 12, 2014, 07:36:31 PM »
In the Options tab, set Date and Time Optimization to "Always compare files".  That should fix the problem.

muravjov

  • Community Member
  • Posts: 9
  • Hero Points: 0
Re: Diffzilla finds no difference when comparing directories (bug?)
« Reply #9 on: March 13, 2014, 07:07:37 AM »
Thanks.
But the behaviour is not consistent:
  • if I run vsdiff without arguments and choose directories with GUI then I do not need to check the option "Always compare files" to see those files mismatched
  • When I use "vsdiff demo real" form then I may just open Options tab, do nothing, click OK, click Refresh button and thus also fix the problem (the files are shown mismatched)

P.S. Is there an option there to set "Always compare files" by default?