Version: 0.43
File: /etc/etckeeper/commit.d/50vcs-commit
Trent W. Buck wrote:
> Also, when doing the next package install, Darcs without warning
> asks for "an email address for use in commits". This is especially
> confusing if the machine has multiple admins, and a different admin
> installed etckeeper.
>
> I suggest calling darcs record with --author etckee...@$fqdn by
> default -- this can be in the default etckeeper.conf options.
> Alternatively, you can write such an email address into
> /etc/_darcs/prefs/author. Otherwise /root/.darcs/author will be
> used, which probably doesn't exist.
On inspecting 0.43's 50vcs-commit, I see that git uses GIT_COMMITER_*,
hg users LOGNAME, and bzr uses --author. But Darcs is encoding $USER
in the commit message. This is silly. Darcs supports --author and
doesn't even require it to be an email address, so
--author "$USER"
would be more in line with what is used for the other VCSs.
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]