Issue 2512 Multiple authors in global config get overwritten

Title Multiple authors in global config get overwritten
Priority bug Status resolved
Milestone Resolved in 2.12.0
Superseder Nosy List jaredj, sap
Assigned To
Topics ProbablyEasy, UI

Created on 2016-10-02.18:06:02 by sap, last changed 2016-10-20.18:17:26 by noreply.

msg19300 (view) Author: sap Date: 2016-10-02.18:06:00
Assume that the global configuration (~/.darcs/author) contains more
than author. This is handy if you use different names and mail addresses
for repositories, e.g. to distinguish between work and private, or one
mail address per project.

Current behaviour:
When a new repository is created, darcs shows a selection of the
available author names. After choosing one, darcs overwrites the global
configuration (~/.darcs/author) with the selected author name.

Expected behaviour:
When the global configuration contains more than one author, the name
should instead be stored in the repository-local confoguration
(_darcs/prefs/author). This way, darcs can prompt again when the next
repository is created.
msg19313 (view) Author: noreply Date: 2016-10-20.18:17:25
The following patch sent by Stephan-A. Posselt <dev-darcs@nimbrium.net> updated issue issue2512 with
status=resolved;resolvedin=2.12.0 HEAD

* resolve issue2512: author name is written to repository after multiple-choice prompt 
Ignore-this: fc7a73a454d35b9b70bc84ee9a924b2c
Date User Action Args
2016-10-02 18:06:02sapcreate
2016-10-02 20:50:21sapsettopic: + ProbablyEasy, UI
nosy: + jaredj
2016-10-10 14:52:48saplinkpatch1519 issues
2016-10-10 14:56:08saplinkpatch1520 issues
2016-10-20 18:17:26noreplysetstatus: unknown -> resolved
messages: + msg19313
resolvedin: 2.12.0