How to determine the process is done in python
-
31-05-2021 - |
Question
I used pysvn to Check out a working copy from a repository, how can I determine that checking out is completed to give the message to the user?
client = pysvn.Client()
client.checkout('file:///media/sda5/trunk','/tmp/test_checkout')
I used the above code to check out, so how can determine when it's done?
Please give me some ideas. Thanks
La solution
The client.checkout
operation is waiting for the checkout to complete, so just notify it the way you want after function return.
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow