[darcs-devel] [issue1405] Suggestion: remind user of DARCS_EMAIL
quick at sparq.org
quick at sparq.org
Tue Mar 24 17:20:02 UTC 2009
Quoting Max Battcher <me at worldmaker.net>:
> On Mon, Mar 23, 2009 at 7:50 PM, Trent Buck <bugs at darcs.net> wrote:
> > I strongly feel that this prompt should write ~/.darcs/author, *not*
> > _darcs/prefs/author. I think it is far more likely that two users will
> > share a repo (in which case _darcs is wrong) than that two users will
> > share a $HOME.
>
> +1.
-1 for me.
I disagree that two users will share a repo: each user should have their own
clone of the repo and work there, otherwise they have conflicts editing the
same files, running simultaneous builds, and all sorts of other non-
deterministic behavior. Darcs is a distributed SCM after all...
The second reason is that the user may want different author ids for different
repos. For example, I use darcs at work and darcs for personal stuff: I use a
different author for both of these.
I think it's good to use:
1. _darcs/prefs/author
2. DARCS_EMAIL
3. ~/.darcs/author
4. EMAIL
in that order, but if none of the above are set, the darcs prompt should set
_darcs/prefs/author.
-KQ
-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/
More information about the darcs-devel
mailing list