![]() ![]() ![]() As you move the slider to the left, the deleted items that match are shown in the list. The similarity threshold can be adjusted for this specific item using the Min similarity accepted slider. It's the way to tell Plastic SCM that the items it is detecting as added + deleted are actually one single moved or renamed item. The search matches option lets the user match the added item with the deleted item to tell Plastic SCM that they are actually the same item and the history of the original item is preserved. This is the case when the similarity percentage is below the threshold set for moved items detection (default 90%). When a file under Plastic SCM is moved or renamed locally and then heavily changed, Plastic SCM may fail to recognize the item as moved and detects it as one added item and another deleted item. The percentage means the allowed difference in size. It defines how similar the directory structure needs to be-how many moved children relative to the total of directory entries.įinally, it also applies to binaries. The similarity percentage applies to directories too. If you changed a file a lot and you renamed it, and the file shows as added/deleted, chances are you need to tweak this setting so that Pending changes detect it as moved. If you move foo.c to bar.c and modify it later, the percentage defines how similar the files need to be so that Plastic considers them the same file. While it achieves very good results by default, these settings let you customize the heuristic to your needs.ĭefines "how similar" two files need to be to detect them as moved or renamed. But at the end of the day, it uses a heuristic and it can make mistakes. Plastic can easily detect when you moved a file, renamed a directory, etc. This is one of the key features in Plastic. These options let you tune move detection. ![]()
0 Comments
Leave a Reply. |