Improve check on git-svnrevert, better error message
authorRenato Golin <renato.golin@linaro.org>
Sat, 16 May 2015 10:23:48 +0000 (10:23 +0000)
committerRenato Golin <renato.golin@linaro.org>
Sat, 16 May 2015 10:23:48 +0000 (10:23 +0000)
commit39dd163cdb3337be43ab8501fa03770177c6ea09
treed9a7acf7b664637445f7f4f54f35914a34d1b74a
parentd43901cbb174ecf6579a85a1522e275d683339f0
Improve check on git-svnrevert, better error message

When the commit is not in the tree at all, find-rev returns 0
and prints an empty string. We need to catch that problem too,
when trying to revert.

Adding a list of possible problems, so that you can easily and
quickly correct without having to edit the script again.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@237516 91177308-0d34-0410-b5e6-96231b3b80d8
utils/git-svn/git-svnrevert