Fix rbt patch for some SCMs.
Review Request #7091 — Created March 19, 2015 and submitted — Latest diff uploaded
Previously,
rbt patchreally only worked with Git, Perforce, and
Mercurial. When runningrbt patchwith another SCM (say, CVS) it
would crash. This is because not all SCMs knew how to check for empty
files support. Now, all SCMs default to no empty file support and
runnignrbt patchwith these SCMs no longer causesrbtto crash.
Ran unit tests.
Before applying this patch, using
rbt patchin a CVS repository
would cause it to crash. After applying this patch, it no longer
crashes and the patch is applied successfully.