After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 522529 - Supporting list of colon-separated files to compare on command line
Supporting list of colon-separated files to compare on command line
Status: VERIFIED WONTFIX
Product: meld
Classification: Other
Component: general
1.1.x
Other All
: Normal enhancement
: ---
Assigned To: Stephen Kennedy
Stephen Kennedy
Depends on:
Blocks:
 
 
Reported: 2008-03-14 23:46 UTC by Brian Holmes
Modified: 2009-08-15 18:40 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch created by svn diff against r980. Adds support for parsing colon-separated list of files. (2.06 KB, patch)
2008-03-14 23:50 UTC, Brian Holmes
none Details | Review

Description Brian Holmes 2008-03-14 23:46:08 UTC
+++ This bug was initially created as a clone of Bug #522521 +++

Our SCM tools spits out a list of file pairs to a diff tool on the command line such as the following:

difftool : file1.orig file1.new : file2.orig file2.new

We'd like to use meld as the main diff tool for our SCM tools but it doesn't yet support this.  I'm proposing we add a command line flag that would support this.  I came up with '--p4' as name for the flag but that is certainly open to suggestions.

(Note: The original bug submission did not support the colons which I was recently informed was a better way for our tool to supply these files from a perforce CL)
Comment 1 Brian Holmes 2008-03-14 23:50:35 UTC
Created attachment 107324 [details] [review]
Patch created by svn diff against r980.  Adds support for parsing colon-separated list of files.

This patch adds a command line option --p4 that enables support for parsing a colon-separated list of files to diff.

Example:

  meld : a b : c d : e f g : h i
Comment 2 Daniel Macks 2008-03-15 22:25:55 UTC
Is this type of command-line usage standard and/or supported for other diff-tools. Sounds like it would trivial to roll a few-line wrapper script around meld (or any other tool) that took a colon-sep list and spawned the command for each set.
Comment 3 Stephen Kennedy 2008-09-27 13:08:25 UTC
I agree with Daniel here - it's better to keep vc specific magic like this in a wrapper script.