Created on 2007-06-19.04:59:23 by trentbuck, last changed 2009-08-27.14:06:57 by admin.
msg1730 (view) |
Author: twb |
Date: 2007-06-19.04:59:23 |
|
This is confusing:
$ darcs anno .Xdefaults
darcs failed: There is no file or directory named '.Xdefaults'
because .Xdefaults is clearly managed by darcs:
$ darcs w -s .Xdefaults
What's new in ".Xdefaults":
M ./.Xdefaults -1 +1
I presume the problem is really that I'm using a partially-gotten repo:
$ darcs cha .Xdefaults
Changes to .Xdefaults:
Mon May 21 22:31:23 EST 2007 Trent Buck <>
* .Xdefaults: more consistent fonts.
Can't find changes prior to:
Sun May 20 00:18:08 EST 2007 Trent Buck <trentbuck@gmail.com>
* .emacs-prefs/rcirc.el: nonstupid log dir.
It would be nice if darcs annotate gave a less obtuse error.
--
Trent Buck
|
msg3013 (view) |
Author: markstos |
Date: 2008-02-01.03:13:07 |
|
I agree with Trent that this error could be improved. However, my inclination is
to consider this "resolved in unstable", by recommending using lazy repos over
partial ones, since partial ones seemed to have fundamentally not worked as well
as well hoped as a design.
In other words, the solution seems to be avoiding using partial repos, not
fixing the problems with them.
|
msg3029 (view) |
Author: droundy |
Date: 2008-02-01.15:31:46 |
|
I agree with Mark on this. We're giving up --partial repositories. And for
--lazy repositories this message is exactly accurate: the source has
disappeared, and we can't find those changes.
|
msg3030 (view) |
Author: kowey |
Date: 2008-02-01.15:45:30 |
|
Would it be reasonable to remove --partial from the user interface (or perhaps
alias it to --lazy)?
|
msg3031 (view) |
Author: daveroundy |
Date: 2008-02-01.16:53:38 |
|
On Feb 1, 2008 10:45 AM, Eric Kow <bugs@darcs.net> wrote:
> Would it be reasonable to remove --partial from the user interface (or perhaps
> alias it to --lazy)?
I'm hesitant to do this, because --partial isn't the same thing as
--lazy. And because I don't think we want to drop support for partial
repositories for users of old-fashioned repositories. Although it
would simplify our code to do so.
David
|
msg3033 (view) |
Author: kowey |
Date: 2008-02-01.17:34:16 |
|
> I'm hesitant to do this, because --partial isn't the same thing as
> --lazy. And because I don't think we want to drop support for partial
> repositories for users of old-fashioned repositories. Although it
> would simplify our code to do so.
Hmm, well I wasn't hoping for a code simplification, because I was
thinking of removing just the flag and leaving the actual back-end
code in (because some people still have partial repositories on which
darcs ought to keep
working). The disadvantage is that it would force people to do a slow
complete get on
old repositories (maybe that's a good thing; encourage more use of
hashed inventory, hehe), but the advantage is that they no longer run
into any --partial induced bug.
Or maybe we could just add to the documentation that partial
repositories should ideally be used only if you are only planning
to get or pull, and not if you want to record/push/etc.
As a third option, darcs could explicitly keep track of whether the
repository is in partial mode or not (which should be easy?), and
either outright refuse to do certain tricky
operations, or emit a warning to the effect of "This might break!"
|
msg3038 (view) |
Author: markstos |
Date: 2008-02-01.19:16:20 |
|
My opinion is to immediately document in the short and long documentation that
--partial is a legacy support option, and not recommended. The long docs can
mention that "it may be removed at some future date".
I light of other possibility priorities, I don't like the idea of spending more
time to code around the broken-ness of --partial, when we have a working
alternative that is easy to switch to.
The essential thing seems to be communicate clearly the state of things.
|
msg3041 (view) |
Author: droundy |
Date: 2008-02-01.19:52:09 |
|
On Fri, Feb 01, 2008 at 05:34:19PM -0000, Eric Kow wrote:
> > I'm hesitant to do this, because --partial isn't the same thing as
> > --lazy. And because I don't think we want to drop support for partial
> > repositories for users of old-fashioned repositories. Although it
> > would simplify our code to do so.
>
> Hmm, well I wasn't hoping for a code simplification, because I was
> thinking of removing just the flag and leaving the actual back-end code
> in (because some people still have partial repositories on which darcs
> ought to keep working). The disadvantage is that it would force people
> to do a slow complete get on old repositories (maybe that's a good thing;
> encourage more use of hashed inventory, hehe), but the advantage is that
> they no longer run into any --partial induced bug.
Removing the --partial flag would mean we could also remove code that is
only activated if the --partial flag is specified. Also, if we removed
--partial, we could remove --checkpoint (at least from optimize), which
would remove a similar amount of code.
> Or maybe we could just add to the documentation that partial
> repositories should ideally be used only if you are only planning
> to get or pull, and not if you want to record/push/etc.
Possibly. But just documenting that users should switch to --hashed format
as soon as possible sounds preferable.
> As a third option, darcs could explicitly keep track of whether the
> repository is in partial mode or not (which should be easy?), and
> either outright refuse to do certain tricky
> operations, or emit a warning to the effect of "This might break!"
This is my least favorite option: it increases the complexity of the code
to support an obsolete feature, and at the same time fails to help those
folks who already have existing --partial repositories.
--
David Roundy
Department of Physics
Oregon State University
|
msg3045 (view) |
Author: markstos |
Date: 2008-02-01.20:26:10 |
|
Based on our comments, I'll volunteer for a first attempt and making some
related documentation updates to steer people away from --partial.
|
msg3049 (view) |
Author: twb |
Date: 2008-02-02.02:18:48 |
|
On Fri, Feb 01, 2008 at 03:31:47PM -0000, David Roundy wrote:
> I agree with Mark on this. We're giving up --partial repositories.
> And for --lazy repositories this message is exactly accurate: the
> source has disappeared, and we can't find those changes.
>
> status: chatting -> resolved
Pardon my ignorance, shouldn't that be -> resolved-in-unstable?
PS: is --lazy a post-2.0.0~pre2 addition?
|
|
Date |
User |
Action |
Args |
2007-06-19 04:59:24 | trentbuck | create | |
2007-07-16 11:21:45 | kowey | set | title: annotate error misleading in partial repo -> error messages should take partial repositories into account |
2007-07-23 15:41:20 | kowey | set | topic:
+ Partial |
2008-02-01 03:13:11 | markstos | set | status: unread -> unknown nosy:
+ markstos messages:
+ msg3013 |
2008-02-01 15:31:47 | droundy | set | status: unknown -> resolved nosy:
droundy, tommy, beschmi, kowey, markstos, trentbuck messages:
+ msg3029 |
2008-02-01 15:45:32 | kowey | set | status: resolved -> unknown nosy:
droundy, tommy, beschmi, kowey, markstos, trentbuck messages:
+ msg3030 |
2008-02-01 15:46:28 | kowey | set | status: unknown -> resolved nosy:
droundy, tommy, beschmi, kowey, markstos, trentbuck |
2008-02-01 16:53:39 | daveroundy | set | status: resolved -> unknown nosy:
+ daveroundy messages:
+ msg3031 |
2008-02-01 17:03:45 | droundy | set | status: unknown -> resolved nosy:
droundy, tommy, beschmi, kowey, markstos, trentbuck, daveroundy |
2008-02-01 17:34:18 | kowey | set | status: resolved -> unknown nosy:
droundy, tommy, beschmi, kowey, markstos, trentbuck, daveroundy messages:
+ msg3033 |
2008-02-01 19:16:21 | markstos | set | nosy:
droundy, tommy, beschmi, kowey, markstos, trentbuck, daveroundy messages:
+ msg3038 |
2008-02-01 19:52:11 | droundy | set | nosy:
droundy, tommy, beschmi, kowey, markstos, trentbuck, daveroundy messages:
+ msg3041 |
2008-02-01 20:26:11 | markstos | set | status: unknown -> has-patch nosy:
droundy, tommy, beschmi, kowey, markstos, trentbuck, daveroundy messages:
+ msg3045 assignedto: markstos |
2008-02-02 02:18:50 | trentbuck | set | nosy:
droundy, tommy, beschmi, kowey, markstos, trentbuck, daveroundy messages:
+ msg3049 |
2008-02-04 16:21:06 | droundy | set | status: has-patch -> resolved-in-unstable nosy:
droundy, tommy, beschmi, kowey, markstos, trentbuck, daveroundy |
2008-09-04 21:31:05 | admin | set | status: resolved-in-unstable -> resolved nosy:
+ dagit |
2008-09-28 20:49:50 | admin | set | nosy:
+ simon, thorkilnaur, - daveroundy |
2009-08-06 17:34:13 | admin | set | nosy:
+ jast, Serware, dmitry.kurochkin, darcs-devel, zooko, mornfall, - droundy, trentbuck |
2009-08-06 20:31:33 | admin | set | nosy:
- beschmi |
2009-08-10 22:05:11 | admin | set | nosy:
+ trentbuck, - darcs-devel, zooko, jast, Serware, mornfall |
2009-08-11 00:01:05 | admin | set | nosy:
- dagit |
2009-08-25 17:29:19 | admin | set | nosy:
+ darcs-devel, - simon |
2009-08-27 14:06:57 | admin | set | nosy:
tommy, kowey, markstos, darcs-devel, trentbuck, thorkilnaur, dmitry.kurochkin |
|