Svn get current user

前端 未结 8 1657
旧时难觅i
旧时难觅i 2021-02-05 01:47

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.

8条回答
  •  日久生厌
    2021-02-05 02:38

    If you are using SVN+SSH, then, the username of the user for a given workstation is in the config file for SVN. Assuming Windows workstation, this file will be in C:\Documents and Settings\\Application Data\Subversion folder. You can then write a script to get this name, and do what ever you need it for.

    I think this is only for SVN+SSH setup. It cant work in other connectivity setups for SVN.

提交回复
热议问题