Skip to main content

Graphical recursive file diffing (Meld, VS Code), good for managing templates across lots of repos / projects

Project description

Graphical recursive file comparison

DOI Language grade: Python Actions Status pypi versions PyPi Download stats

Using Meld or Visual Studio Code to accomplish file differencing. Useful for managing large numbers of repos / projects, particularly for templates.

Scripts

meld_all project/myfile.f90 ~/code

graphically compares project/myfile.f90 with every other file of the same name recursively under ~/code.

Usage

Particularly on Windows, the GUI may be invoked, but you don't see any difference. This is often because only one of the two files as a trailing \n or \r\n. Meld won't show any difference, even with all text filters off. Because of how Python filecmp.cmp works, there isn't a blazing fast simple solution to this. A possibly slow solution would be using str.replace.

So just realize it's OK, close Meld when it shows no difference and happy comparing!

Reference: https://github.com/dsindex/blog/wiki/%5Bpython%5D-string-compare-disregarding-white-space

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for meldutils, version 2.1.0
Filename, size File type Python version Upload date Hashes
Filename, size meldutils-2.1.0.tar.gz (5.5 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page