There is my output of test run.
$ ./928.sh
Repository created at repo
Tracked 1 path(s)
Hash: 2GRYAON3N7FQKCPOTGXDE35A4YO24VF4XE654XMCGUJ5P43Y2GMAC
Hash: ABEDC3CBR666JLT3C5PEDSHPOW5M4LASACYL2QHVMJICXVGXORGAC
Hash: ELD7YFZX6ONVSGCX3KR3NCN5NY7NPP4QR3QYMY25TPLD2X4SSCJQC
Outputting repository... done!
Reset given paths to last recorded change
Downloading changes [==================================================] 1/1 [00:00:00]
Applying changes [==================================================] 1/1 [00:00:00]
Downloading changes [==================================================] 1/1 [00:00:00]
Completing changes... done!
Outputting repository... done!
Downloading changes [==================================================] 1/1 [00:00:00]
Applying changes [==================================================] 1/1 [00:00:00]
Downloading changes [==================================================] 1/1 [00:00:00]
Completing changes... done!
Outputting repository..
There were conflicts:
- Order conflict in "conflict.txt" starting on line 2
Outputting repository... done!
Order conflict questions
I was reading through this blog post and did fiddle with order conflicts. Which lead me to some questions about them.
See the shell script at the end to setup an example repo which I will base this discuss on. The scenario is simple there is a file (conflict.txt) with some text and then in parallel alice and bob add a new line at the same spot(using their own channels). Then both of these changes are pulled into the main channel resulting in an order conflict.
Conflict resolution scenarios
Diff output scenario 1
Diff output scenario 2
Diff output scenario 3
Diff output scenario 4
Setup example repository script
I hope the questions above are reasonable and we can find an answer to them.