darcs

Issue 1286 Issue merging unrelated repos with directory renames in history

Title Issue merging unrelated repos with directory renames in history
Priority not-our-bug Status wont-fix
Milestone Resolved in
Superseder Nosy List aslatter, darcs-devel, dmitry.kurochkin, kowey, thorkilnaur
Assigned To
Topics FauxBug

Created on 2008-12-28.02:04:52 by aslatter, last changed 2009-08-27.14:14:10 by admin.

Messages
msg6900 (view) Author: aslatter Date: 2008-12-28.02:04:48
The following scenario leads to conflicts with darcs 2.10:

# first repository
mkdir first
cd first
mkdir B
echo "Hello!" > B/first.txt
darcs init
darcs add B -r
darcs record -a
darcs mv B A
darcs record -a
cd ..

# second repository
mkdir second
mkdir A
echo "Hello!" > A/second.txt
darcs init
darcs add -r A
darcs record -a
cd ..

# third repository
mkdir third
darcs init
darcs pull -a ../first
darcs pull -a ../second

Why this was a conflict wasn't intuitive to me the first time I saw
it in my real repo.  In fact, its the first conflict I've ever run
into using darcs
for my own personal projects (as far as I remember).

Is this expected to be in conflict?  Is there something better that
darcs could be doing here?

I guess it was so supprising to me was that I think of conflicts as
disagreements between what the current state of the repository should
be - but here the conflict is because the histories of the
repositories are not compatible (I think?).

All in all it was a confusing experience.

-Antoine
msg6908 (view) Author: kowey Date: 2008-12-28.10:46:22
Hi Antoine,

I've provided what I hope is an explanation here:
http://lists.osuosl.org/pipermail/darcs-users/2008-December/016842.html

I regret that this is confusing, but I don't think there is much we can do about
it.  Perhaps I am mistaken.  Thanks!

I'll abuse the not-our-bug priority to indicate "this isn't actually a bug"
msg6923 (view) Author: aslatter Date: 2008-12-28.15:05:21
On Sun, Dec 28, 2008 at 5:46 AM, Eric Kow <bugs@darcs.net> wrote:
>
> Eric Kow <kowey@darcs.net> added the comment:
>
> Hi Antoine,
>
> I've provided what I hope is an explanation here:
> http://lists.osuosl.org/pipermail/darcs-users/2008-December/016842.html
>
> I regret that this is confusing, but I don't think there is much we can do about
> it.  Perhaps I am mistaken.  Thanks!
>
> I'll abuse the not-our-bug priority to indicate "this isn't actually a bug"
>

Sounds good enough.  as long as it's known.

-Antoine
History
Date User Action Args
2008-12-28 02:04:53aslattercreate
2008-12-28 10:46:29koweysetpriority: not-our-bug
status: unread -> wont-fix
topic: + FauxBug
messages: + msg6908
nosy: kowey, simon, thorkilnaur, dmitry.kurochkin, aslatter
2008-12-28 15:05:27aslattersetnosy: kowey, simon, thorkilnaur, dmitry.kurochkin, aslatter
messages: + msg6923
2009-08-25 17:37:07adminsetnosy: + darcs-devel, - simon
2009-08-27 14:14:10adminsetnosy: kowey, darcs-devel, thorkilnaur, dmitry.kurochkin, aslatter