修订版更新不适用于相对外部

Update to revision does not work for relative externals

目录 test_externals 包含一个真实文件 "original.txt" 和一个源自它的外部文件: ../test_externals/original.txt external.txt

一个 "update to revision" 以前的修订版不 select 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

I would have expected that external.txt should also be updated to revision 577

错了。在您的定义中,您不使用 PEG-revision,因此它将始终是 HEAD (AFAICR)。 Re-read SVN 图书章节 Externals Definitions + Peg and Operative Revisions