清理
svn cleanup {clean_path} --username {user} --password {password}
解決沖突使用他人的版本
svn resolve -R --accept theirs-full {path} --username {user} --password {password}
解決沖突使用工作區(qū)版本
svn resolve -R --accept working {path} --username {user} --password {password}
還原
svn revert -R -q {path} --username {user} --password {password}
更新,使用他人版本
svn update --accept theirs-full {path} --username {user} --password {password}
獲取差異
svn diff -r {l_version}:{r_version} --summarize {path} --username {user} --password {password}
獲取狀態(tài)
svn status {file_path} --username {user} --password {password}
提交
svn commit {file_path} -m \"{commit_message}\"
參數(shù):
| 清理路徑 | svn路徑 | 用戶名 | 密碼 | 左版本號 | 右版本號 | 文件路徑 | 提交信息 |
|---|---|---|---|---|---|---|---|
| string | string | string | string | string | string | string | string |
| clean_path | path | user | password | l_version | r_version | file_path | commit_message |