i am using SharpSvn.dll for my own application. one of my goals is to lock file (i am using GetLock() function). however i did not found a way to know the file status - is it lock or not regards
i am using SharpSvn.dll for my own application. one of my goals is to lock file (i am using GetLock() function). however i did not found a way to know the file status - is it lock or not regards
If you want to check if a file is locally locked you can use
SvnClient.Status(). If you want to check it at the repository you can useSvnClient.List(), but there you have to pass.RetrieveLocksasTrueon the SvnListArgs instance.