News for hackers. Stuff that matters.
Re:Pijul: A intuitive VCS unlike Git that's based on sound t... by juped on Friday September 25, 2020 @09:27PM (#24595679)
Conflicts can't be avoided (certainly not by tree-diffing), and aren't an error state ("conflict" is a bad name because it sounds like it is). The useful innovation of pijul is that conflicted states are not an exceptional state - you can continue to apply patches.
Re:Pijul: A intuitive VCS unlike Git that's based on sound t... by creata on Friday September 25, 2020 @11:01PM (#24596079)
I understand that conflicts are inevitable, but wouldn't tree-diffing at least be an improvement over line-diffing? I recall that Pijul's theory of generalized files (arbitrary digraphs of lines IIRC) is already fairly complicated though.
Re:Pijul: A intuitive VCS unlike Git that's based on sound t... by juped on Saturday September 26, 2020 @01:54AM (#24596733)
It wouldn't really make much of a difference, if any. For source files, anyway - more complicated diffing helps for files we consider just "binary" now but that are actually structured.

Pijul's pushouts are unrelated - that just allows a line in a file to be ambiguous, rather than definitely being one line.

Re:Pijul: A intuitive VCS unlike Git that's based on sound t... by creata on Saturday September 26, 2020 @10:29AM (#24599108)
You say Pijul's pushouts are unrelated, but their construction depends on a very line-centric definition of patches. Wouldn't it need to be made more complex to accomodate tree patches?
Re:Pijul: A intuitive VCS unlike Git that's based on sound t... by juped on Saturday September 26, 2020 @03:13PM (#24601367)
No? The concept is that a unit of diffing (a line, or a tree node in your hypothetical tree-diffing approach) can be ambiguous until another patch resolves the ambiguity.
Re:Pijul: A intuitive VCS unlike Git that's based on sound t... by creata on Saturday September 26, 2020 @03:20PM (#24601415)
In the vaguest sense, sure. But if a file is a list of lines, this "ambiguous file" is a digraph of lines. If a file is instead a tree of strings, what does an "ambiguous file" look like? See this paper which was the source of some of the main ideas of Pijul, and in particular, note that its extension to structured data is listed as "future work", which means it probably hasn't been done yet.

https://arxiv.org/pdf/1311.3903.pdf

Re:Pijul: A intuitive VCS unlike Git that's based on sound t... by juped on Monday September 28, 2020 @05:55PM (#24621629)
I don't think you have understood the pushouts paper. Look at figure 4 again.
Re:Pijul: A intuitive VCS unlike Git that's based on sound t... by creata on Friday October 02, 2020 @02:55PM (#24665847)
Which one's figure 4? They're not numbered.

Also, can you point out what my misunderstanding is? That'd help a lot.