如何在';svn更新—接受延迟';
如果我在冲突签出中使用如何在';svn更新—接受延迟';,svn,merge,Svn,Merge,如果我在冲突签出中使用svn update--accept delay,那么我就得到了冲突文件(filname)和3个额外的未版本文件()- filename.mine,filename.rOLDREV,filename.rNEWREV 如何在冲突的签出浏览中从脚本中查找此额外文件?更新完成后,这些文件标记为未版本化的,没有任何特殊属性。是的,svn resolve filename应该找到它,但我想检测它以显示给用户 如何从脚本中找到这些额外文件 正如doc中所写:每个状态为“C”的文件都将添
svn update--accept delay
,那么我就得到了冲突文件(filname
)和3个额外的未版本文件()-
filename.mine
,filename.rOLDREV
,filename.rNEWREV
如何在冲突的签出浏览中从脚本中查找此额外文件?更新完成后,这些文件标记为未版本化的
,没有任何特殊属性。是的,svn resolve filename
应该找到它,但我想检测它以显示给用户
如何从脚本中找到这些额外文件
正如doc中所写:每个状态为“C”的文件都将添加三个具有相同名称和更改扩展名的文件
C sandwich.txt
Updated to revision 2.
Summary of conflicts:
Text conflicts: 1
$ ls -1
sandwich.txt
sandwich.txt.mine
sandwich.txt.r1
sandwich.txt.r2
例如,对于冲突的t.txt
scn info t.txt
输出
Path: t.txt
Name: t.txt
Working Copy Root Path: D:\test\users\u2_conflict\repo4conflict
URL: file:///D:/test/repo4conflict/text/t.txt
Relative URL: ^/text/t.txt
Repository Root: file:///D:/test/repo4conflict
Repository UUID: ca805198-e653-c549-a95b-e74c0053aff8
Revision: 3
Node Kind: file
Schedule: normal
Last Changed Author: Y.N
Last Changed Rev: 3
Last Changed Date: 2015-08-10 17:12:53 +0300
Checksum: d9e2a264aec5085a8d670266a9064f6c0e57a4c6
Conflict Previous Base File: t.txt.r1
Conflict Previous Working File: t.txt.mine
Conflict Current Base File: t.txt.r3
Source left: (file) ^/text/t.txt@1
Source right: (file) ^/text/t.txt@3
使用
svn info conflicted\u file\u name--xml
解析结果。这是更新的输出。我需要在冲突解决流中查找这些文件。我找不到ls-1
选项hg
-这是一个mercurial命令,svn 1.8没有-l
选项用于resolve
Path: t.txt
Name: t.txt
Working Copy Root Path: D:\test\users\u2_conflict\repo4conflict
URL: file:///D:/test/repo4conflict/text/t.txt
Relative URL: ^/text/t.txt
Repository Root: file:///D:/test/repo4conflict
Repository UUID: ca805198-e653-c549-a95b-e74c0053aff8
Revision: 3
Node Kind: file
Schedule: normal
Last Changed Author: Y.N
Last Changed Rev: 3
Last Changed Date: 2015-08-10 17:12:53 +0300
Checksum: d9e2a264aec5085a8d670266a9064f6c0e57a4c6
Conflict Previous Base File: t.txt.r1
Conflict Previous Working File: t.txt.mine
Conflict Current Base File: t.txt.r3
Source left: (file) ^/text/t.txt@1
Source right: (file) ^/text/t.txt@3