The sound distributed version control system

#401 files magically modified in channel I did not touch

Closed on April 25, 2021
tankf33der on March 26, 2021

Latest pijul and linux2x. Run ./run-unrec-main.sh, scenario fails on last milestone #3 assert check.

Previous milestones passed somehow on channel main. I never touched files in main channel and they appeared modified.

pmeunier added a change on April 25, 2021
WQQJLPTXGJGK2LPRV633QTPLDXE4E5N7GQ4Y7FOLSFTJBWF6GHRQC
main
pmeunier on April 25, 2021

Alright, nailed it! When we channel switch, we first compare the channels in order to avoid outputting unchanged files. This is both an optimisation and a UI thing, as we don’t want to update the mtime of unchanged files.

However, when one of the channels has become empty after too many unrecords (as is the case in your test), there is a special case in the comparison, which wasn’t handled. It is now, thanks!

pmeunier closed this discussion on April 25, 2021
tankf33der on April 25, 2021

I will wait commit then in repo, i dont see it even after 50mins

pmeunier on April 25, 2021

Indeed, I just pushed it.

tankf33der on April 25, 2021

Got it, testing

tankf33der on April 25, 2021

Enabled.