What does it mean if some files in TortoiseSVN are marked “deleted” and others “deleted (+)” with a plus sign?

陌路散爱 提交于 2019-12-06 16:44:45

问题


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")


回答1:


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 to b. If you see the (+), Tortoise knows that you didn't really delete a file called a and make a file called b, 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 be a. Otherwise, you'd hit a dead end, and it would look like b sprang out of nowhere in the history. You can mouseover these entries and see more details about where they came from.




回答2:


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.



来源:https://stackoverflow.com/questions/3073639/what-does-it-mean-if-some-files-in-tortoisesvn-are-marked-deleted-and-others

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!