kdiff3 diff icult benefits of kdiff3 usage for
play

KDiff3 - Diff-icult? Benefits of KDiff3 usage for programmers and - PowerPoint PPT Presentation

KDiff3 - Diff-icult? Benefits of KDiff3 usage for programmers and "civilians" KDiff3 is a tool for comparison, synchronisation and merge of files and directories By Joachim Eibl KDE Community World Summit 2004 . p.1/12 Other


  1. KDiff3 - Diff-icult? Benefits of KDiff3 usage for programmers and "civilians" KDiff3 is a tool for comparison, synchronisation and merge of files and directories By Joachim Eibl KDE Community World Summit 2004 . – p.1/12

  2. Other Free Diff, Merge And Synchronisation Tools GNU-Diffutils (diff, diff3) Meld (written in Python for Gnome, 3-way) Xxdiff (3-way) Kompare (in kdesdk) Unison (rsync-transfer) Tkdiff Dirdiff Gtkdiff KFS (KFileSynchroniser) Winmerge . – p.2/12

  3. Getting started Command line: kdiff3 file1 file2 [file3] [-o outputfile] Open dialog (history-comboboxes) Drag and drop, Copy and paste into diff input window . – p.3/12

  4. Basic Features Diff-highlighting (character by character) Unchanged lines are horizontally aligned Whitespace (spaces, tabs, line-endings) Special treatment of C/C++-comments Overview-columns Merge (2-way) Search-function Copy and paste Word wrap . – p.4/12

  5. 3-Way Merge One common base Two branches (created by possibly different developers) Automatic selection of lines that were changed in only one file "Conflicts" when the same lines were changed Special color scheme Integrated merge output editor Saving not possible while conflicts remain . – p.5/12

  6. Preprocessors, sed Normal preprocessor: changes what you really see and get Line-Matching Preprocessor: only affects the line-matching phase of the comparison. Use this to suppress unwanted differences. sed is often the perfect tool for preprocessing sed -Examples: sed s/Regexp/Replacement/g sed ’s/#/\/\//’ sed ’s/\$\(Revision\|Author\|Log\|Header\|Date\).*\$/\$\1\$/’ . – p.6/12

  7. Directory Comparison, Synchronisation and Merge 2 and 3-way (automated) merge Recursive operation Color scheme Double-click opens a file Modify the proposed operation by clicking it Run operation for current or all items Special Options (Full Analysis, ...) KIO-support . – p.7/12

  8. Special Usecases Huge FTP-downloads (via KIO) Comparison with tar-archives (via KIO) Creating a pseudo-patch . – p.8/12

  9. Other Features can be used as diff-viewer within KDevelop (libkdiff3part) can also be compiled without KDE (Windows-binary available) tested on 64-bit system documentation available . – p.9/12

  10. The Future Is Wide Open Possible features: Unicode-support Binary comparison mode (Hex-view) Printing Other filetypes (hard) . – p.10/12

  11. The End Thank you for listening! Do you want to participate? Homepage: http://kdiff3.sourceforge.net CVS: kdeextragear-1/kdiff3 . – p.11/12

  12. Time For Questions . – p.12/12

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend