如果 TortoiseSVN 中的某些文件被标记为“已删除”,这意味着什么?以及其他“已删除 (+)”带加号?
我即将在 TortoiseSVN 中进行提交,涉及重新排列大量文件和目录。在“提交”窗口中,有几个文件的文本状态为“已删除”或“已添加”,但其他文件的文本状态为“已删除(+)”或“已添加(+)”。 (+) 是什么意思?
(在谷歌上搜索加号非常困难,“加号”这个词会出现很多关于意思是“添加”的蓝色叠加图标的点击)
I'm about to do a commit in TortoiseSVN involving rearranging a lot of files and directories. On the "commit" window, there are several files whose text status is "deleted" or "added" but others whose text status is "deleted (+)" or "added (+)". What does the (+) mean?
(It's quite difficult to Google for a plus sign, and the word "plus" turns up lots of hits about the blue overlay icon meaning "added")
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
“+”表示 TortoiseSVN 能够找出该项目的历史记录,并将历史元数据添加到此提交中。例如,假设您将文件从
a
重命名为b
。如果您看到(+)
,Tortoise 就知道您并没有真正删除名为a
的文件并创建了名为b
的文件,并且已确定发生了重命名。这很好,因为这意味着您可以将
b
的历史追溯到它曾经是a
的位置。否则,你就会陷入死胡同,而且b
看起来就像历史上凭空出现的一样。您可以将鼠标悬停在这些条目上并查看有关它们来自何处的更多详细信息。The "+" means that TortoiseSVN was able to figure out the item's history, and has added the history metadata to this commit. For instance, say you rename a file from
a
tob
. If you see the(+)
, Tortoise knows that you didn't really delete a file calleda
and make a file calledb
, and has determined that a rename took place.That's good, because it means you can trace the history of
b
backwards to the point where it used to bea
. Otherwise, you'd hit a dead end, and it would look likeb
sprang out of nowhere in the history. You can mouseover these entries and see more details about where they came from.Deleted(+) 用于指示该文件并没有真正消失,它只是被重命名,并且有一个关联的 added(+) 表示新文件。
Deleted(+) is used to indicate that the file isn't really gone, it's just been renamed, and there is an associated added(+) that represents the new file.