Eric Kow <[EMAIL PROTECTED]> writes:
> On Sat, Dec 06, 2008 at 12:46:05 +0100, Petr Rockai wrote:
>> I would probably prefer the email pref to be left alone, myself. Maybe better
>> documentation is in place, but. The idea of the email pref is that it is
>> *not*
>> part of the *downstream* branch. What you do is
>
> I agree that the local email pref is usually the right kind of pref and
> that it should stick around. I also share your skepticism about the
> usefulness of a global email pref (and am nervous about people using it
> when really they should be using the local one instead).
>
> But if somebody really really really wants to submit code that (a)
> creates a working global email pref that and (b) respects the local
> email pref probably as an override, then I'll put it up for user
> discussion (with my vote probably being no).
>
> What would make me happier is if somebody could eliminate the source of
> confusion by working out a good plan for making the global prefs
> distinct from the local ones, which I think would solve the
> documentation issue.
Whether a preference is controlled by setpref (e.g. test) or manually
added (e.g. author/email) always struck me as a little arbitrary.
Maybe preferences should all be available both as patches (propagating),
and as local modifications to _darcs (not propagating), so that users
can choose the approach that suits their preferred workflow.
We could set it up so that "darcs setpref author" will emit a warning
like
WARNING: this probably isn't the workflow you want; if you use
setpref for this, it will propagate to all downstream repos.
Instead, you probably want to edit _darcs/prefs/author by hand.
If you do *that*, patches sent to forks won't be sent to you by
default.
> One possible plan is for darcs setpref patches to be applied in
> something like _darcs/global/prefs instead of _darcs/prefs/prefs.
> Segregrate the user editable stuff from the darcs stuff.
As a start, the prefs file could contain (added by setpref) a line at
the top
# This file is used by `darcs setpref'. Do not edit it directly!
_______________________________________________
darcs-users mailing list
[email protected]
http://lists.osuosl.org/mailman/listinfo/darcs-users