trevorr / vss2git

Migrate Visual SourceSafe repositories to Git
Apache License 2.0
153 stars 116 forks source link

Revision combination algorithm fails on directories #45

Open VasiliPupkin256 opened 6 years ago

VasiliPupkin256 commented 6 years ago

vss2git should not combine revisions if the last commit removes or overwrites a file changed by the previous commit. The function BuildChangesets try to avoid this by comparing target files but fail if one of the targetPath is a directory containing the other one. See issues #21. Happens very often to me. The issue #22 probably relevant too.