darcs

Issue 818 Inconsistent conflictor in a conflict fight scenario

Title Inconsistent conflictor in a conflict fight scenario
Priority bug Status duplicate
Milestone Resolved in
Superseder fix bug in conflict-handling with darcs-2 semantics.
View: 817
Nosy List darcs-devel, dmitry.kurochkin, kowey, ppessi, thorkilnaur, tommy
Assigned To
Topics

Created on 2008-04-28.17:05:50 by ppessi, last changed 2009-08-27.14:13:36 by admin.

Messages
msg4368 (view) Author: ppessi Date: 2008-04-28.17:05:48
Darcs creates inconsistent conflictors in a conflict fight scenario
when using darcs-2 format.

In conflict fight scenario we have two repositories A and B. After
pulling from A and finding conflict, B resolves it unilaterally. This
is repeated with each new change pulled from A.

Bug is probably triggered because B reverts to the situation before
first pull. In other words, all the new patches recorded by B are
identical.

Please find attached a test script, output from two test runs, first
with --hashed, second with --darcs-2. The exact-version is included.

Darcs pull --verbose output:

Pulling from "../RA"...
darcs: Inconsistent patch:
conflictor {{
|hunk ./file 1
|-0
|+let it b
|conflictor [
|hunk ./file 1
|-0
|+let it b
|]
||:
|hunk ./file 1
|-0
|+a0
|:
hunk ./file 1
-0
+let it b
|hunk ./file 1
|-0
|+a0
|:
hunk ./file 1
-a0
+a1
|:
hunk ./file 1
-0
+let it b
|:
hunk ./file 1
-0
+a0
}} [
hunk ./file 1
-0
+let it b
]
|hunk ./file 1
|-0
|+a0
|hunk ./file 1
|-a0
|+a1
|:
hunk ./file 1
-a1
+a2
mm conflicts with im in is_consistent where nmm is
{{
|hunk ./file 1
|-0
|+a0
|hunk ./file 1
|-a0
|+a1
|conflictor [
|hunk ./file 1
|-0
|+a0
|hunk ./file 1
|-a0
|+a1
|]
||:
|hunk ./file 1
|-0
|+let it b
|:
hunk ./file 1
-0
+let it b
}}
Command exited with non-zero status 1
msg4379 (view) Author: kowey Date: 2008-04-29.17:48:26
Duplicate.
History
Date User Action Args
2008-04-28 17:05:50ppessicreate
2008-04-29 17:48:28koweysetpriority: bug
status: unread -> resolved
superseder: + fix bug in conflict-handling with darcs-2 semantics.
messages: + msg4379
nosy: + kowey
2008-11-18 14:24:05koweysetstatus: resolved -> duplicate
nosy: + dmitry.kurochkin, simon, thorkilnaur
2009-08-06 21:03:23adminsetnosy: - beschmi
2009-08-11 00:11:30adminsetnosy: - dagit
2009-08-25 17:34:37adminsetnosy: + darcs-devel, - simon
2009-08-27 14:13:36adminsetnosy: tommy, kowey, darcs-devel, ppessi, thorkilnaur, dmitry.kurochkin