简体   繁体   English

使用svn:externals-不自动更新乌龟状态吗?

[英]Using svn:externals - doesn't auto-update Tortoise status?

(I'm an svn newbie, so I don't know if what I'm trying to do is even possible but...) (我是svn新手,所以我不知道我想做的事是否有可能,但是...)

I've set up a simple test repository to try a few things out. 我已经建立了一个简单的测试库来尝试一些操作。 At present it looks like this: 目前看起来像这样:

TestSVN
  |--Folder A
  |     |--FileA.txt
  |     |--FileB.txt
  |--Folder B
        |--FileB.txt

FileB exists in Folder A as an svn:external link. FileB作为svn:external链接存在于文件夹A中。 So this works as I expect, when I update Folder A it pulls in the current version of FileB. 因此,这可以按我预期的方式工作,当我更新文件夹A时,它将拉入当前版本的FileB。

Now lets say I change FileB in Folder A and commit the change. 现在说我更改文件夹A中的FileB并提交更改。 I would expect when looking at my working copy of Folder B that Tortoise would indicate that my working copy of FileB (in Folder B) is out of date. 我希望当查看我的文件夹B的工作副本时,Tortoise会指示我的文件B(在文件夹B中)的工作副本已过期。 Conversely, if I change FileB in Folder B, I'd expect to see that my FileB in Folder A is not the same as the version in the repository. 相反,如果我更改文件夹B中的FileB,我希望看到文件夹A中的FileB与存储库中的版本不同。 It doesn't appear to do this - Tortoise shows that both working copies are 'OK', even though they are the 'same file' and are different. 似乎没有执行此操作-Tortoise显示两个工作副本均为“ OK”,即使它们是“相同文件”且不同。

Am I misunderstanding how SVN works in general, or is this actually broken? 我是不是误解了SVN的总体工作原理,还是实际上被打破了?

Am I misunderstanding how SVN works in general 我是否误解了SVN的总体运作方式

Yes

And "yes" for meaning|using|changing of overlay icons in TortoiseSVN 而且,TortoiseSVN中的覆盖图标的含义|更改为“是”

Working Copy of any repository is autonomous system most time and does not communicate with repository freely (only on demand for checkout|commit|status) 任何存储库的工作副本大多数时候都是自治系统,并且不会与存储库自由通信(仅在需要签出|提交|状态时才可通信)

Overlay icons are only indicators of $CURRENT state of object vs $VANILLA state (ie revision, into which WC was updated|checkouted), and vanilla-state stored also locally in WC 覆盖图标仅是对象的$ CURRENT状态与$ VANILLA状态(即修订版,WC已更新到的状态)的指示符,并且香草状态也本地存储在WC中

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM