I do not believe that TortoiseSVN has an API that allows external applications to extract information from it, which you will need to do correctly. The best you can do with the provided is to use SubWCRev to determine if there are any local modifications in this working copy.
source
share