Impose a minimum version on rbt patch with SVN
Review Request #7097 — Created March 20, 2015 and submitted
The
svn patchcommand was added in SVN 1.7.0 (1). We now check the
version ofsvnprior to attempting to executesvn patchand report
to the user that their version ofsvndoes not support thepatch
command if it is less than 1.7.0.(1): https://subversion.apache.org/docs/release-notes/1.7.html#patch
Ran unit tests.
Able to run
rbt patchwhen using SVN 1.7.0 and above. Not able to
runrbt patchwhen using SVN prior to 1.7.0.
| Description | From | Last Updated | 
|---|---|---|
| 
       
        This doesn't see to work. Did you want: if not is_valid_version(self.subversion_client_version, self.PATCH_MIN_VERSION):  | 
      
        | 
      
 
Tool: PEP8 Style Checker Processed Files: rbtools/clients/svn.py rbtools/clients/errors.py Tool: Pyflakes Processed Files: rbtools/clients/svn.py rbtools/clients/errors.py