我从一个分支机构运行svn update
命令我很久没有更新了,我发现svn操作有一些令人惊讶的列格式。 U,A,D等列打印出来的是什么通信?
U XXX\YYY...
U XXX\YYY...
U XXX\YYY...
U XXX\YYY...
U XXX\YYY...
U XXX\YYY...
U XXX\YYY...
U XXX\YYY...
U XXX\YYY...
U XXX\YYY...
U XXX\YYY...
U XXX\YYY...
U XXX\YYY...
U XXX\YYY...
U XXX\YYY...
U XXX\ZZZ...
U XXX\ZZZ...
U XXX\ZZZ...
A XXX\ZZZ...
U XXX\ZZZ...
UU HHH\LLL...
我猜第一列是文件/目录,第二列是svn属性?有两列以上还是两列?它们到底是什么意思?
答案 0 :(得分:2)
嗯,看起来它已经很好地记录了,显然有很多专栏。
svn update --help
For each updated item a line will be printed with characters reporting
the action taken. These characters have the following meaning:
A Added
D Deleted
U Updated
C Conflict
G Merged
E Existed
R Replaced
Characters in the **first column** report about the item itself.
Characters in the **second column** report about properties of the item.
A 'B' in the **third column** signifies that the lock for the file has
been broken or stolen.
A 'C' in the **fourth column** indicates a tree conflict, while a 'C' in
the first and second columns indicate textual conflicts in files
and in property values, respectively.