junghans / cwdiff Goto Github PK
View Code? Open in Web Editor NEWA (w)diff wrapper to support directories and colorize the output
A (w)diff wrapper to support directories and colorize the output
--diffopts -anything fails...
because here
--diffopts)
diff_opts="$2"
shift ;;
you need to shift 2 times, ie,
--diffopts)
diff_opts="$2"
shift 2;;
Original issue 3 created by junghans on 2011-05-10T12:11:22.000Z:
Don't die if we diff binary files. Solves a problem with Mercurial WordDiff http://mercurial.selenic.com/wiki/WordDiff
Currently, if there is any binary file in a diff between two revisions, the cwdiff fails and outputs an empty string.
The patch fixes the problem.
Change 9fd6b12 completely breaks cwdiff
for me. It essentially results in wdiff '' -n file1 file2
and thus in the error "wdiff: too many file arguments".
I believe the quotes around $wdiff_opts
should be removed. They can only ever work if $wdiff_opts
contains exactly one option.
the wdiff command is not found in the cwdiff
$hg wdiff
Original issue 2 created by junghans on 2011-01-18T20:33:14.000Z:
What steps will reproduce the problem?
What is the expected output? What do you see instead?
>>> Downloading 'http://dl.google.com/linux/talkplugin/deb/pool/main/g/google-talkplugin/google-talkplugin_1.7.1.0-1_amd64.deb'
--2011-01-18 15:16:48-- http://dl.google.com/linux/talkplugin/deb/pool/main/g/google-talkplugin/google-talkplugin_1.7.1.0-1_amd64.deb
Resolving dl.google.com... 74.125.115.190, 74.125.115.91, 74.125.115.136, ...
Connecting to dl.google.com|74.125.115.190|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2011-01-18 15:16:48 ERROR 404: Not Found.
What version of the product are you using? On what operating system?
Please provide any additional information below.
moving the print out into the diff
header line case (out of the else
) fixed it for the most part.
Original issue 1 created by junghans on 2010-08-23T12:26:08.000Z:
What steps will reproduce the problem?
What is the expected output? What do you see instead?
[000:130] Waiting for GoogleTalkPlugin to start...
/opt/google/talkplugin/GoogleTalkPlugin: /usr/lib32/libcrypto.so.0.9.8: no version information available (required by /opt/google/talkplugin/GoogleTalkPlugin)
/opt/google/talkplugin/GoogleTalkPlugin: /usr/lib32/libssl.so.0.9.8: no version information available (required by /opt/google/talkplugin/GoogleTalkPlugin)
What version of the product are you using? On what operating system?
1.4.1.0.1
Please provide any additional information below.
[I] app-emulation/emul-linux-x86-baselibs
Available versions: 20100220!s 20100409!s 20100611!s
Installed versions: 20100611!s(07:56:23 23/08/10)
Easy 100% repro for me:
$ echo foo > cat
$ echo bar { > dog
$ cwdiff cat dog
foobar }
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.