
8

svn错误:a peg revision is not allowed here解决方法
source link: https://www.hi-roy.com/posts/svn%E9%94%99%E8%AF%AF-a-peg-revision-is-not-allowed-here%E8%A7%A3%E5%86%B3%E6%96%B9%E6%B3%95/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

svn错误:a peg revision is not allowed here解决方法
2014-10-14
今天更新文件时候,svn突然不好用了,报错:
[xsy@miss_yi bomupload]$ svn rm bom/upload/[email protected]_1413255461.74.zip
svn: E200009: 'bom/upload/[email protected]_1413255461.74.zip': a peg revision is not allowed here
原因就在于文件名中的@符号,解决办法如下:
[xsy@miss_yi bomupload]$ svn rm bom/upload/45299790\@qq.com_1413255461.74.zip@
D bom/upload/[email protected]_1413255461.74.zip
在文件名最后添加@以及在中间的@前添加‘\’即可。
这个方法解决了我的问题,更多方法参考https://stackoverflow.com/questions/757435/how-to-escape-characters-in-subversion-managed-file-names

About Roy
野生程序猿,略懂Python,略懂Golang,略懂云计算,略懂大数据,略懂拳击游泳钓鱼,略懂钢琴吉他摄影。
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK