开发者

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

开发者 https://www.devze.com 2023-01-04 04:36 出处:网络
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 other

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


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.


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消