svn list https://192.168.16.23/svn/project/ --username xiao 查看svn目录树
svn up --username zhangsan --password 123456 临时切换
Repositoreis属性里有hooks脚本设置如pre-commit.bat设置日志提交限制
@echo off
setlocal
set REPOS=%1
set TXN=%2
rem check msg contains at least 6 characters
svnlook log "%REPOS%" -t "%TXN%" | findstr "......" > nul
if %errorlevel% gtr 0 goto err
exit 0
:err
echo 提交日志长度不得低于6个字符! 1>&2
exit 1
TortoiseProc.exe /command:commit /path:"c:svn_wcfile1.txt*c:svn_wcfile2.txt" /logmsg:"test log message" /closeonend:1
TortoiseProc.exe /command:update /path:"c:svn_wc" /closeonend:1
TortoiseProc.exe /command:log /path:"c:svn_wcfile1.txt" /startrev:50 /endrev:60 /closeonend:0