Closed sahib closed 6 years ago
This was resolved by d4222bfc.
The new node was added to the new parent before changing it's path. This lead to the same hash as the source node, overwriting it later in the process.
It is still not 100% clear why the tests did not show this problem.
Test setup:
Interestingly enough, this was only observed during testing with the command line. The actual unittests surrounding
fs.Copy()
seem to cover that case just fine.(This is a reminder to myself)