Ref T1266. This doesn't change any behaviors, but some of this code has a lot of really complicated conditionals and I tried to break that up a bit.
Also, reexpress this stuff in terms of the "structured" parser in D12144.
Differential D12145
Clean up copy detection code a bit epriestley on Mar 24 2015, 6:25 PM. Authored by Tags None Referenced Files
Subscribers
Details
Ref T1266. This doesn't change any behaviors, but some of this code has a lot of really complicated conditionals and I tried to break that up a bit. Also, reexpress this stuff in terms of the "structured" parser in D12144. Unit tests still pass. They aren't hugely comprehensive but did reliably fail when I screwed stuff up.
Diff Detail
Event Timeline
Comment Actions Might be worth a quick comparison of a revision that has copy detection / holding this a bit 'til subsequent diff(s) where you do that sort of testing or unit tests are more comprehensive, etc... Anyway, much better code on the right hand side!
Comment Actions Yeah, D12146 adds more coverage and I looked through ~5 revisions after that to see if I could spot anything obvious. The new behavior after that change generally seems better, but yell if you spot anything sketchy looking after that pushes. |