darcs

Issue 212 pull => bug in function reconcile_unwindings (1.0.5)

Title pull => bug in function reconcile_unwindings (1.0.5)
Priority bug Status resolved
Milestone Resolved in
Superseder pull => bug in function reconcile_unwindings (** minimal test case **)
View: 194
Nosy List darcs-devel, dmitry.kurochkin, kowey, markstos, thorkilnaur, tommy, zoso
Assigned To droundy
Topics Conflicts

Created on 2006-07-03.20:52:30 by zoso, last changed 2009-08-27.14:04:45 by admin.

Messages
msg749 (view) Author: zoso Date: 2006-07-03.20:52:28
Hi all,

    I set up two repositories yesterday, to play a little with Darcs and try
to understand how the conflict system worked. I'm sending attached both
repositories, for reference (I guess they'll be helpful). If I can provide
more information or help in anything, just tell me.

    The last command output (and version, at the end) was:

------------------------------------- 8< -------------------------------------
zoso@hunter:~/tmp/darcs/hello-world-branch$ darcs pull
Pulling from "/home/zoso/tmp/darcs/hello-world-mainline"...

Thu Apr 13 13:53:09 WEST 2006  zoso@foton.es
  * Remove bloat
Shall I pull this patch? (1/1) [ynWvpxqadjk], or ? for help: y
darcs: bug in darcs!
in function reconcile_unwindings
Original patch:
merger 0.0 (
merger 0.0 (
hunk ./hello.rb 3
-puts "New sensation"
+puts "New sensation, new sensation"
merger 0.0 (
hunk ./hello.rb 7
+class Test
+    def initialize
+        @foo = :bar
+    end
+end
+
merger 0.0 (
hunk ./hello.rb 5
+puts "Another, important phrase"
+
merger 0.0 (
hunk ./hello.rb 3
-puts "Another brick in the Wall"
+puts "New sensation"
merger 0.0 (
hunk ./hello.rb 3
+puts "Another brick in the Wall"
+
hunk ./hello.rb 3
+puts "You're just another thing'"
+
)
)
)
)
)
merger 0.0 (
merger 0.0 (
merger 0.0 (
merger 0.0 (
merger 0.0 (
merger 0.0 (
hunk ./hello.rb 1
+#!/usr/bin/ruby -w
+
hunk ./hello.rb 1
+#!/usr/bin/ruby -w
+
)
hunk ./hello.rb 3
-puts "Hello, World!"
+puts "Hello, World, Once more!"
)
hunk ./hello.rb 1
-puts "Hello, World!"
+#!/usr/bin/ruby -w
+
+puts "Hello, World, again!"
)
merger 0.0 (
merger 0.0 (
hunk ./hello.rb 3
-puts "Hello, World!"
+puts "Hello, World, Once more!"
merger 0.0 (
hunk ./hello.rb 1
+#!/usr/bin/ruby -w
+
hunk ./hello.rb 1
+#!/usr/bin/ruby -w
+
)
)
hunk ./hello.rb 2
+
+require 'nsbb'
)
)
hunk ./hello.rb 1
-puts "Hello, World!"
+#!/usr/bin/ruby -w
+
+puts "Hello, World, again!"
)
merger 0.0 (
merger 0.0 (
merger 0.0 (
merger 0.0 (
hunk ./hello.rb 3
-puts "Hello, World!"
+puts "Hello, World, Once more!"
merger 0.0 (
hunk ./hello.rb 1
+#!/usr/bin/ruby -w
+
hunk ./hello.rb 1
+#!/usr/bin/ruby -w
+
)
)
hunk ./hello.rb 2
+
+require 'nsbb'
)
merger 0.0 (
merger 0.0 (
merger 0.0 (
hunk ./hello.rb 1
+#!/usr/bin/ruby -w
+
hunk ./hello.rb 1
+#!/usr/bin/ruby -w
+
)
hunk ./hello.rb 3
-puts "Hello, World!"
+puts "Hello, World, Once more!"
)
hunk ./hello.rb 1
-puts "Hello, World!"
+#!/usr/bin/ruby -w
+
+puts "Hello, World, again!"
)
)
merger 0.0 (
merger 0.0 (
hunk ./hello.rb 2
+
+require 'nsbb'
merger 0.0 (
hunk ./hello.rb 3
-puts "Hello, World!"
+puts "Hello, World, Once more!"
merger 0.0 (
hunk ./hello.rb 1
+#!/usr/bin/ruby -w
+
hunk ./hello.rb 1
+#!/usr/bin/ruby -w
+
)
)
)
hunk ./hello.rb 4
-
-puts "Hello, World, Once more!"
-
-puts "New sensation, new sensation"
-
-puts "Another, important phrase"
)
)
)
)
Please report this to bugs@darcs.net
If possible include the output of 'darcs --exact-version'.
zoso@hunter:~/tmp/darcs/hello-world-branch$ darcs --exact-version
darcs compiled on Jan 15 2006, at 11:05:33
unknown
zoso@hunter:~$ darcs --version
1.0.5 (release)
------------------------------------- >8 -------------------------------------

It's the current Debian package for Sid, BTW (1.0.5-3).

    FWIW, I just checked with
http://www.carpetcode.org/binaries/darcs-1.0.6-static-linux-i386.gz (linked
from http://www.carpetcode.org/get-carpet-darcs.html#darcs), and the result is
the same, apparently:

------------------------------------- 8< -------------------------------------
zoso@hunter:~/tmp/darcs/hello-world-branch$ ~/tmp/darcs-1.0.6-static-linux-i386 --exact-version
darcs compiled on Mar  1 2006, at 03:01:57
# configured Wed Mar  1 02:53:45 CET 2006
./configure --prefix=/afs/aei-potsdam.mpg.de/u/eschnett LDFLAGS=-static --no-create --no-recursion

Context:

[bump version to 1.0.7pre1
Tommy Pettersson <ptp@lysator.liu.se>**20060301000323]

[show 1.0.6 as latest stable source on web page
Tommy Pettersson <ptp@lysator.liu.se>**20060301000158
 Forgot this, again :-/
]

[TAG 1.0.6
Tommy Pettersson <ptp@lysator.liu.se>**20060228111841]
------------------------------------- >8 -------------------------------------

Regards,
msg1990 (view) Author: kowey Date: 2007-08-03.17:56:53
Merging into issue194.  Thanks for the report!
msg2387 (view) Author: markstos Date: 2008-01-09.04:20:39
This bug is a duplicate one that is resolved-in-unstable.
History
Date User Action Args
2006-07-03 20:52:30zosocreate
2006-07-03 21:00:52droundysetnosy: droundy, tommy, zoso
title: Bug in Darcs -> Bug in Darcs in function reconcile_unwindings
2006-07-03 21:01:04droundysetnosy: droundy, tommy, zoso
superseder: + pull => bug in function reconcile_unwindings (** minimal test case **)
2007-07-18 07:59:48koweysettopic: + Conflicts
nosy: + kowey, beschmi
title: Bug in Darcs in function reconcile_unwindings -> pull => bug in function reconcile_unwindings (1.0.5)
2007-08-03 17:56:54koweysetstatus: unread -> duplicate
messages: + msg1990
2008-01-09 04:20:41markstossetstatus: duplicate -> resolved-in-unstable
nosy: + markstos
messages: + msg2387
2008-09-04 21:28:47adminsetstatus: resolved-in-unstable -> resolved
nosy: + dagit
2009-08-06 17:51:30adminsetnosy: + jast, Serware, dmitry.kurochkin, darcs-devel, zooko, mornfall, simon, thorkilnaur, - droundy, zoso
2009-08-06 20:50:40adminsetnosy: - beschmi
2009-08-10 21:53:12adminsetnosy: + zoso, - darcs-devel, zooko, jast, Serware, mornfall
2009-08-10 23:54:57adminsetnosy: - dagit
2009-08-25 18:02:52adminsetnosy: + darcs-devel, - simon
2009-08-27 14:04:45adminsetnosy: tommy, kowey, markstos, darcs-devel, zoso, thorkilnaur, dmitry.kurochkin