目录test_externals包含一个真实文件“ original.txt”和一个源自该文件的外部文件: ../test_externals/original.txt external.txt
对旧版本的“更新到修订”不会为external.txt选择旧版本。这里是命令行的证据:
D:\test_externals>dir
27.06.2019 16:33 <DIR> .
27.06.2019 16:33 <DIR> ..
27.06.2019 16:27 8 external.txt
27.06.2019 16:27 8 original.txt
2 Datei(en), 16 Bytes
2 Verzeichnis(se), 128.625.299.456 Bytes frei
D:\test_externals>svn ls
original.txt
D:\test_externals>svn pg svn:externals .
../test_externals/original.txt external.txt
D:\test_externals>svn info external.txt |findstr Revision
Revision: 578
D:\test_externals>svn info original.txt |findstr Revision
Revision: 578
D:\test_externals>svn update -r 577
Updating '.':
U original.txt
Fetching external item into 'external.txt':
Updated external to revision 578.
At revision 577.
D:\test_externals>svn info external.txt |findstr Revision
Revision: 578
D:\test_externals>svn info original.txt |findstr Revision
Revision: 577
我希望external.txt也应该更新到修订版577。 我用过:
TortoiseSVN 1.11.1, Build 28492 - 64 Bit , 2019/01/08 21:40:39
ipv6 enabled
Subversion 1.11.1, -release
apr 1.6.5
apr-util 1.6.1
serf 1.3.9
OpenSSL 1.1.0j 20 Nov 2018
zlib 1.2.11
SQLite 3.23.1
答案 0 :(得分:0)
我希望external.txt也应该更新到修订版577
错了。在您的定义中,您不使用PEG修订版,因此它将始终是HEAD(AFAICR)。重新阅读SVN图书部分Externals Definitions + Peg and Operative Revisions