How to get current user that is using svn on particular workstation?
can I use svn.exe executable with some switch to get that info.
Thanks.
grep username ~/.subversion/auth/svn.simple/* --after-context=2 | tail -1   Explanation:
Grep the file in grep username ~/.subversion/auth/svn.simple/* will look for username
--after-context=2 will print +2 line after it encounters username   
Output:
username V 6 Bhavik   | tail -1 will give me my username i.e Bhavik.  Hope this explains the code.
In Linux, you will find the following file in your home directory:
~/.subversion/auth/svn.simple
In this file, you can see the "currently logged in user".
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With