BrightLight / RepoCop

RepoCop is a repository hook framework written in C#
3 stars 2 forks source link

Fix issue that falsely marked copy-sources as replaced #23

Closed steffen-wilke closed 5 years ago

steffen-wilke commented 5 years ago

Previously there was an issue with how the SvnLook implementation handled the copy-source entries in the SVN change result: It just assumed that an item with a copy-source syntax like (from trunk/vendors/baker/bread.txt:r111) was automatically a replaced item but didn't account for the case where this item actually was just the copy-source of a newly added item.

Added some new unit tests to ensure that the handling is correct.