linux 下 svn的安裝和使用

一、安裝

sudo yum install subversion

二、使用

1)checkout

mkdir test2
svn checkout url  ./pathsaveto --username xxx --password xxx

2)add and commit

svn add *
svn commit -m "xxxx"

3)更新

svn update

4)刪除

svn delete filename
svn commit -m "xxxx"

五、查看

svn list url

錯誤處理

字符集錯誤UTF-8

svn: Error converting entry in directory '.' to UTF-8
svn: Valid UTF-8 data
(hex:)
followed by invalid UTF-8 sequence
(hex: a5 64 a4 56)ide

該問題緣由是SVN版本庫目錄中包含中文的文件名形成的,
將中文件文件名刪除便可,而後按utf-8編碼文件名後上傳svn

Node remains in conflict

解決辦法編碼

svn revert --depth=infinity xxxx

其中xxxx是你衝突的目錄或文件url

相關文章
相關標籤/搜索