* * *

Author Topic: Project Comparison  (Read 770 times)

simone

  • Jr. Member
  • **
  • Posts: 61
Project Comparison
« on: June 15, 2017, 10:19:03 am »
Dear all, for debugging purposes, I need to compare two snapshots of a project. I see the comparison tool available in Lazarus, but it compare two file, not two projects. So, do I need to use an external tool (i.e. Meld) that is able to compare two directories? Thanks.

Ñuño_Martínez

  • Hero Member
  • *****
  • Posts: 630
    • Burdjia
Re: Project Comparison
« Reply #1 on: June 15, 2017, 10:56:36 am »
Yes, you need to use an external tool.

simone

  • Jr. Member
  • **
  • Posts: 61
Re: Project Comparison
« Reply #2 on: June 15, 2017, 11:14:22 am »
Thanks. I thought I missed something. I think it might be useful to consider this feature in future versions of Lazarus.

marcov

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5642
Re: Project Comparison
« Reply #3 on: June 29, 2017, 08:49:29 am »
(I use cygwin's diff for that with a batchfile to set default opts. The arguments (%1 and %2) are directories)

diff -udirwB --ignore-file-name-case --strip-trailing-cr   %1 %2 >diff.txt
unix2dos diff.txt
start notepad diff.txt

)

avra

  • Hero Member
  • *****
  • Posts: 1085
    • Additional info
Re: Project Comparison
« Reply #4 on: June 29, 2017, 02:44:08 pm »
You can use Beyond Compare (commercial) or WinMerge (free).
ct2laz - Easily convert components and projects between Lazarus and CodeTyphon

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus