Created on 2008-06-05.15:35:20 by andreas.abel, last changed 2009-08-27.14:10:18 by admin.
msg4977 (view) |
Author: andreas.abel |
Date: 2008-06-05.15:35:15 |
|
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
if you unpack the enclosed repository and do a
darcs pull
and say "y" for at least the first patch which is described as
Sat May 31 21:42:29 CEST 2008 Nils Anders Danielsson
<nils.anders.danielsson@gmail.com>
* Improved the precedence graph interface.
...
then darcs loops. This happened with version 1.1.0pre. Then I upgraded
to 2.0.0, but no change in behavior.
What can be done about it?
Cheers,
Andreas
- --
Andreas Abel <>< Du bist der geliebte Mensch.
Theoretical Computer Science, University of Munich
http://www.tcs.informatik.uni-muenchen.de/~abel/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFIR6ZxPMHaDxpUpLMRAtqdAKCxLGChS5cSi2NNT4yR4XJha7grqwCg3Xtg
OrbMrMgzOZ4MZVu/VA/C9Hg=
=vFK2
-----END PGP SIGNATURE-----
|
msg4989 (view) |
Author: kowey |
Date: 2008-06-06.08:09:57 |
|
Hi,
Assigning to myself to reproduce.
I'm still getting a 404 on http://www.tcs.ifi.lmu.de/~abel/Agda2-local-repo.tgz
Best,
|
msg4994 (view) |
Author: kowey |
Date: 2008-06-06.14:58:40 |
|
Hmm,
This sounds like a conflict-resolution problem with unrecorded changes. I have
not looked too deeply into this, but I'll note that you can pull the changes
without the unrecorded changes.
One intervention you could take is to save your work by doing
darcs record
darcs send -O
This gives you a bundle with your unrecorded changes. If you try to apply them
to the repository (with that first patch) pulled, you'll notice that darcs
appears to hang too. But perhaps you could 'rewrite' the patch in a simpler way?
The nature of the patches is interesting. They contain something like
move A -> B
rm B
add A
Did you intend to 'swap' two pre-existing files, A and B?
|
msg4995 (view) |
Author: kowey |
Date: 2008-06-06.15:04:26 |
|
Continuing that thought, if swapping the two files was your intention, you might
be able to get away with something like
darcs mv A A-tmp
darcs mv B A
darcs mv A-tmp B
which reduces the risk of conflicts if you modify either A or B. Now, the
question of whether darcs2 should handle these conflicts or not (i.e. without
taking forever) I cannot really help with. For instance, maybe switching to the
darcs2 format would help.
I'll have to ask David when we have a few more details about what happened.
|
msg4996 (view) |
Author: kowey |
Date: 2008-06-06.17:01:22 |
|
> The question for the developers is: How can remote changes be falsely
> assumed to be local changes?
Is it possible that you did a darcs mv, and then changed your mind,
but used regular mv to move the files back?
Otherwise, darcs may have some issues with the pending patch. David
keeps fixing pending-related bugs, so it may be something that was
already fixed between 1.1.0pre and 2.0.0, even with the old format.
Also, your case shows a place where darcs2 does not deal well with
conflicts on darcs1 repositories. Maybe the new format does better.
We'd have to poke at it to find out.
|
msg5498 (view) |
Author: kowey |
Date: 2008-08-14.05:50:39 |
|
Sorry for the late reply.
To work around this situation, you can remove the pending patch
(_darcs/patches/pending).
The hanging is because the repository is still using the old darcs 1 format (you
would need to convert to the darcs 2 format to avoid the exponential merge problem).
The reason there was an exponential merge was because of the mv A -> B; rm A;
add B local changes. I believe these were caused by a bug in handling the
pending patch -- one that has been fixed.
I'm marking this as resolved. If anybody can show me an instance of this bug
being creating in darcs 2, please open a new issue.
|
msg5501 (view) |
Author: kowey |
Date: 2008-08-14.06:48:54 |
|
Ah! Actually, I can confirm that this was fixed in darcs 2 (around 2007-08).
Likely your version of darcs 1.1.0pre was from before last August.
Please have a look at http://bugs.darcs.net/issue494
Very sorry for the vagueness, folks. I was having trouble searching through the
history.
|
|
Date |
User |
Action |
Args |
2008-06-05 15:35:20 | andreas.abel | create | |
2008-06-05 18:33:28 | kowey | link | issue912 superseder |
2008-06-05 18:33:57 | kowey | link | issue910 superseder |
2008-06-05 18:34:12 | kowey | link | issue915 superseder |
2008-06-06 08:09:59 | kowey | set | priority: bug nosy:
+ kowey status: unread -> unknown messages:
+ msg4989 assignedto: kowey |
2008-06-06 14:58:44 | kowey | set | topic:
+ Conflicts nosy:
tommy, beschmi, kowey, dagit, andreas.abel messages:
+ msg4994 title: pull hangs (2.0.0) -> pull hangs (2.0.0, old format) |
2008-06-06 15:04:28 | kowey | set | nosy:
tommy, beschmi, kowey, dagit, andreas.abel messages:
+ msg4995 |
2008-06-06 17:01:24 | kowey | set | nosy:
tommy, beschmi, kowey, dagit, andreas.abel messages:
+ msg4996 |
2008-08-14 05:50:42 | kowey | set | status: unknown -> resolved nosy:
+ claus.reinke, darcs-devel, andreas.abel, simon, - andreas.abel assignedto: kowey -> messages:
+ msg5498 title: pull hangs (2.0.0, old format) -> whatsnew shows: mv A -> B; rm A; add B |
2008-08-14 05:52:23 | kowey | set | topic:
- Conflicts nosy:
tommy, beschmi, kowey, darcs-devel, dagit, simon, claus.reinke, andreas.abel |
2008-08-14 06:48:56 | kowey | set | status: resolved -> unknown nosy:
tommy, beschmi, kowey, darcs-devel, dagit, simon, claus.reinke, andreas.abel superseder:
+ Applying patches leaves unexpected changes in working copy (1.0.9) messages:
+ msg5501 |
2008-08-14 15:31:26 | simon | set | nosy:
- simon |
2008-08-15 07:13:12 | kowey | set | status: unknown -> resolved nosy:
tommy, beschmi, kowey, darcs-devel, dagit, claus.reinke, andreas.abel |
2008-09-08 15:19:10 | kowey | set | topic:
+ ThePendingPatch nosy:
tommy, beschmi, kowey, darcs-devel, dagit, claus.reinke, andreas.abel |
2009-08-06 21:07:33 | admin | set | nosy:
+ dmitry.kurochkin, simon, thorkilnaur, - beschmi |
2009-08-11 00:16:47 | admin | set | nosy:
- dagit |
2009-08-25 18:12:17 | admin | set | nosy:
- simon |
2009-08-27 14:10:18 | admin | set | nosy:
tommy, kowey, darcs-devel, thorkilnaur, claus.reinke, dmitry.kurochkin, andreas.abel |
|