Created on 2008-04-28.17:05:50 by ppessi, last changed 2009-08-27.14:09:49 by admin.
File name |
Uploaded |
Type |
Edit |
Remove |
demobug817.dpatch
|
ppessi,
2008-05-07.11:40:25
|
text/x-darcs-patch |
|
|
msg4367 (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
|
msg4378 (view) |
Author: kowey |
Date: 2008-04-29.17:47:29 |
|
Escalating (+droundy)
|
msg4411 (view) |
Author: kowey |
Date: 2008-04-30.19:36:39 |
|
I notice you have not attached the test script [or it didn't make it to the
tracker]. Could you submit it as a patch to darcs, under the bugs/ directory?
Or barring that, attach it? Thanks!
|
msg4548 (view) |
Author: ppessi |
Date: 2008-05-07.11:40:25 |
|
2008/4/30, Eric Kow <bugs@darcs.net>:
> I notice you have not attached the test script [or it didn't make it to the
> tracker]. Could you submit it as a patch to darcs, under the bugs/ directory?
> Or barring that, attach it? Thanks!
Here you go.
Attachments
|
msg4549 (view) |
Author: kowey |
Date: 2008-05-07.12:56:54 |
|
Alright, I've submitted your patch. I'm guessing that either Jason or David are
the best people to look at this. Assigning to David.
|
msg4551 (view) |
Author: droundy |
Date: 2008-05-07.13:50:21 |
|
I've isolated the bug here to Darcs.Patch.Real.geteff, for what it's worth.
This is not surprising, as I'd say that this is the trickiest function to get
right in all the new formalism. :(
|
msg4553 (view) |
Author: droundy |
Date: 2008-05-07.15:13:42 |
|
The following patch updated the status of Issue817 to be resolved in the =
unstable branch:
* resolve Issue817: fix bug in conflict-handling with darcs-2 semantics.=20
This bug was due to the buggy use of a buggy function called
depends_uponFL. I've removed this function, and am making this note
explicit so that noone else (including myself) will make the mistake of
resurrecting this function from the past.
You can view the patch details online here:=20
http://darcs.net/cgi-bin/darcs.cgi/unstable/?c=3Dannotate&p=3D20080507144=
950-72aca-25383dc9aa6240304203aac32eed1ddf563aeb9a.gz
|
|
Date |
User |
Action |
Args |
2008-04-28 17:05:50 | ppessi | create | |
2008-04-29 17:47:31 | kowey | set | priority: bug nosy:
+ droundy, kowey status: unread -> unknown messages:
+ msg4378 |
2008-04-29 17:48:28 | kowey | link | issue818 superseder |
2008-04-30 17:37:52 | kowey | set | topic:
+ Conflicts nosy:
droundy, tommy, beschmi, kowey, dagit, ppessi |
2008-04-30 19:36:40 | kowey | set | nosy:
droundy, tommy, beschmi, kowey, dagit, ppessi messages:
+ msg4411 |
2008-05-07 11:40:26 | ppessi | set | files:
+ demobug817.dpatch nosy:
droundy, tommy, beschmi, kowey, dagit, ppessi messages:
+ msg4548 |
2008-05-07 12:56:56 | kowey | set | nosy:
droundy, tommy, beschmi, kowey, dagit, ppessi messages:
+ msg4549 assignedto: droundy |
2008-05-07 13:50:24 | droundy | set | nosy:
droundy, tommy, beschmi, kowey, dagit, ppessi messages:
+ msg4551 |
2008-05-07 13:57:07 | kowey | set | status: unknown -> has-patch nosy:
droundy, tommy, beschmi, kowey, dagit, ppessi |
2008-05-07 15:13:44 | droundy | set | status: has-patch -> resolved-in-unstable nosy:
droundy, tommy, beschmi, kowey, dagit, ppessi messages:
+ msg4553 title: Inconsistent conflictor in a conflict fight scenario -> fix bug in conflict-handling with darcs-2 semantics. |
2008-09-04 21:33:20 | admin | set | status: resolved-in-unstable -> resolved nosy:
droundy, tommy, beschmi, kowey, dagit, ppessi |
2009-08-06 17:58:14 | admin | set | nosy:
+ markstos, jast, Serware, dmitry.kurochkin, darcs-devel, zooko, mornfall, simon, thorkilnaur, - droundy, ppessi |
2009-08-06 21:03:18 | admin | set | nosy:
- beschmi |
2009-08-10 22:20:05 | admin | set | nosy:
+ ppessi, - markstos, darcs-devel, zooko, jast, Serware, mornfall |
2009-08-11 00:11:27 | admin | set | nosy:
- dagit |
2009-08-25 18:08:29 | admin | set | nosy:
+ darcs-devel, - simon |
2009-08-27 14:09:49 | admin | set | nosy:
tommy, kowey, darcs-devel, ppessi, thorkilnaur, dmitry.kurochkin |
|