Created on 2008-01-21.03:06:51 by markstos, last changed 2009-10-23.23:28:49 by admin.
msg2627 (view) |
Author: markstos |
Date: 2008-01-21.03:06:49 |
|
Trent Buck wondered on IRC tonight of "optimize --relink" was broken in Darcs2.
I observed that we don't have an automated test for "--relink", although there
is a "tests/optimize.pl" already. It would be nice to have one.
[21:15] <twb> Is darcs optimize --relink broken in 2.0.0~pre2, or am I using it
[21:17] <twb> du -s and du -sl report the same number, even after relinking
|
msg2630 (view) |
Author: markstos |
Date: 2008-01-21.03:47:15 |
|
Trent just wrote a test for optimize --relink, which fails with Darcs2 and
1.0.9. I'll be sending that patch to darcs-devel shortly.
I'm unassigning the ticket now, since it seems to need the attention of a
Haskell programmer now, not a test programmer.
|
msg2631 (view) |
Author: tommy |
Date: 2008-01-21.04:22:39 |
|
On Mon, Jan 21, 2008 at 03:47:18AM -0000, Mark Stosberg wrote:
> Trent just wrote a test for optimize --relink, which fails with Darcs2 and
> 1.0.9. I'll be sending that patch to darcs-devel shortly.
>
> I'm unassigning the ticket now, since it seems to need the attention of a
> Haskell programmer now, not a test programmer.
I just tested with both 1.0.9 and darcs2, and both of them does
relink the files in _darcs/patches. Darcs2 even created a link
when I did a pull. I'm not sure I understand what the test tries
to do. What does Trent expect --relink to do?
|
msg2634 (view) |
Author: tommy |
Date: 2008-01-21.04:29:51 |
|
On Mon, Jan 21, 2008 at 04:22:40AM -0000, Tommy Pettersson wrote:
> I'm not sure I understand what the test tries to do.
Ah, the second patch made it a little clearer.
There must be at least one patch in the repo for --relink to
have something to relink!
|
msg2645 (view) |
Author: markstos |
Date: 2008-01-21.18:38:52 |
|
Thanks for the comment, Tommy.
I'll turn it back into a "testing" issue and take it myself to get the test
updated to test with some actual patches.
|
msg2647 (view) |
Author: droundy |
Date: 2008-01-21.19:11:44 |
|
On Mon, Jan 21, 2008 at 06:38:54PM -0000, Mark Stosberg wrote:
> I'll turn it back into a "testing" issue and take it myself to get the test
> updated to test with some actual patches.
I've already made a few changes, so don't work on this just yet.
--
David Roundy
Department of Physics
Oregon State University
|
msg2648 (view) |
Author: droundy |
Date: 2008-01-21.19:12:44 |
|
Incidentally, this turns out to be a bug in the handling of the flag --sibling.
If we cd into x and then run with --sibling=../y, the test passes.
David
|
msg2649 (view) |
Author: droundy |
Date: 2008-01-21.19:23:08 |
|
I believe this is fixed by a patch I'm about to push to unstable.
|
|
Date |
User |
Action |
Args |
2008-01-21 03:06:51 | markstos | create | |
2008-01-21 03:07:22 | markstos | set | nosy:
+ twb assignedto: twb |
2008-01-21 03:47:18 | markstos | set | status: unread -> unknown title: wish automated test for "optimize --relink" -> optimize --relink fails to create hard links nosy:
droundy, tommy, beschmi, kowey, markstos, twb, jaredj messages:
+ msg2630 priority: wishlist -> bug assignedto: twb -> (no value) |
2008-01-21 04:22:40 | tommy | set | nosy:
droundy, tommy, beschmi, kowey, markstos, twb, jaredj messages:
+ msg2631 |
2008-01-21 04:29:52 | tommy | set | nosy:
droundy, tommy, beschmi, kowey, markstos, twb, jaredj messages:
+ msg2634 |
2008-01-21 18:38:54 | markstos | set | status: unknown -> has-patch assignedto: markstos messages:
+ msg2645 nosy:
droundy, tommy, beschmi, kowey, markstos, twb, jaredj title: optimize --relink fails to create hard links -> wish: automated test for optimize relink |
2008-01-21 19:11:46 | droundy | set | nosy:
droundy, tommy, beschmi, kowey, markstos, twb, jaredj messages:
+ msg2647 |
2008-01-21 19:12:48 | droundy | set | nosy:
droundy, tommy, beschmi, kowey, markstos, twb, jaredj messages:
+ msg2648 |
2008-01-21 19:23:12 | droundy | set | status: has-patch -> resolved-in-unstable nosy:
droundy, tommy, beschmi, kowey, markstos, twb, jaredj messages:
+ msg2649 |
2008-05-14 18:27:21 | kowey | set | status: resolved-in-unstable -> resolved nosy:
+ Serware, dagit |
2009-08-06 17:51:53 | admin | set | nosy:
+ jast, dmitry.kurochkin, darcs-devel, zooko, mornfall, simon, thorkilnaur, - droundy, twb, jaredj |
2009-08-06 20:54:47 | admin | set | nosy:
- beschmi |
2009-08-10 22:11:19 | admin | set | nosy:
+ twb, jaredj, - darcs-devel, zooko, jast, mornfall |
2009-08-11 00:04:47 | admin | set | nosy:
- dagit |
2009-08-25 18:03:18 | admin | set | nosy:
+ darcs-devel, - simon |
2009-08-27 13:59:07 | admin | set | nosy:
tommy, kowey, markstos, darcs-devel, twb, thorkilnaur, jaredj, dmitry.kurochkin, Serware |
2009-10-23 22:42:53 | admin | set | nosy:
+ serware, - Serware |
2009-10-23 23:28:49 | admin | set | nosy:
+ Serware, - serware |
|