I have a script which builds my application, uploads it to a remote machine, runs a performance test there and captures some metrics that I care about. The script creates a patch file for the local modifications I make in my workspace and shows it along with the performance numbers. This helps me compare the effect of various tuning options. If I want to recreate my workspace at a later date, I can use the SVN revision number and the patch.
svn diff
does not report a new files I add to the workspace unless I explicitly use svn add
on them first. Is there some way to create a patch file which will include the new files also?
PS: A similar question was asked here but was not answered adequately, IMO.
svn status
andsvn diff
to see if all the pieces you need are there and revert, add, rm and edit the files until you're satisfied with your changes. – Alex Jasmin Nov 22 '10 at 19:20svn diff --show-copies-as-adds
to do what you want, see stackoverflow.com/a/2185988/131504 – Amos Joshua Nov 2 '17 at 10:01