Closed shaunvxc closed 8 years ago
So, there are python builtins that can do diffs. However, after researching them I am not convinced its what you want to use. Using the builtin diff means it can generate patch files for git etc.
Some options for (potentially) better diffing:
This PR allows for running diffs between the code sitting in the virtualenv and the associated backed up copies
This is crude in its current state- and I've only tested it so far on files (ie
envy diff foo/bar.py
-- and notenvy diff foo
).@hltbra do you have any suggestions here? Should I be using
subprocess
/ is there a better utility I could be using for running the diff.CC @pguiv @andrewgross