xschem can now also be used as a diff tool to compare differences between two versions of a schemati...
s
xschem can now also be used as a diff tool to compare differences between two versions of a schematic.
xschem --diff test_solar_panel2.sch test_solar_panel.sch
in this example the reference test_solar_panel.sch is compared against solar_panel2.sch. This can be done also with subversion or git (with some revision control system configuration, expecially for git) to compare a current schematic with an older commit. Details are explained in this video
🙌 2
👍 4
For git the following configuration lines in
~/.gitconfig
do the job:
Copy code
[difftool "xschem"]
cmd = /path/to/xschem --diff \"$LOCAL\" \"$REMOTE\"
and comparison with an older commit is done with:
Copy code
git difftool -t xschem  625495e27a529c2a42dbf339457e7b5bae8fc3f0  xschem_library/examples/poweramp.sch