Fix rbt patch for SVN backend
Review Request #7095 — Created March 20, 2015 and submitted — Latest diff uploaded
Previously,
rbt patch
would not work with SVN repositories. This was
because the the value for patch's-p
flag was being calculated
incorrectly for SVN repositories. This has been corrected and now we use
svn patch
to apply the patch instead of thepatch
executable. This
allows patches containing SVN keywords to be applied.
Ran unit tests.
Successfully used
rbt patch
to apply a patch to an SVN repository.
Successfully usedrbt patch
to apply a patch to an SVN repository that
used SVN keywords (e.g.$Rev$
).