So you want to compare a file across two revisions. svn diff -r 107:106 routes/user.js –diff-cmd /usr/bin/diff -x “–side-by-side” nJoy 😉
Svn side-by-side compare a file in two versions
Posted on
So you want to compare a file across two revisions. svn diff -r 107:106 routes/user.js –diff-cmd /usr/bin/diff -x “–side-by-side” nJoy 😉
Sometimes you find yourself catching up with some devs who did not care to add all the stuff they should to SVN or you want to make sure all files are in SVN. Well here’s a hand script : svn status | awk ‘{if ($1 == “?”) print $2 }’ | xargs svn add nJoy…
I had svn not committing to the repository. It would just stop at Transmitting file data . and would not budge. upgrade , and committing another file on it’s own would work . I sudo’ed as root and used chown user. on the folder where the working copy was and it sorted itself out….