[darcs-devel] [issue1405] Suggestion: remind user of DARCS_EMAIL

Trent Buck bugs at darcs.net
Mon Mar 23 23:50:13 UTC 2009


New submission from Trent Buck <trentbuck at gmail.com>:

Ashley Moran <ashley.moran at patchspace.co.uk> writes:

> This bugged me for ages until I googled for it and found there was an
> answer.  Every time you record the first patch in a repo, it asks you
> for your email address:
>
> % darcs record
> Darcs needs to know what name (conventionally an email address) to use
> as the patch author, e.g. 'Fred Bloggs <fred at bloggs.invalid>'.  If you
> provide one now it will be stored in the file '_darcs/prefs/author'
> and used as a default in the future.  To change your preferred author
> address, simply delete or edit this file.

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.

> I think it would be useful to point out you can set the DARCS_EMAIL
> environment variable in this explanation.  It'd be a very easy way of
> improving the usability of making many branches to new users.  And
> people like me that didn't realise there was a solution!

We could certainly increase the visibility of $EMAIL and $DARCS_EMAIL as
well.

----------
messages: 7503
nosy: dmitry.kurochkin, kowey, simon, thorkilnaur, twb
status: unread
title: Suggestion: remind user of DARCS_EMAIL

__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/issue1405>
__________________________________


More information about the darcs-devel mailing list