[darcs-devel] [patch1841] resolve issue2610: add --inherit-default... (and 1 more)

Ben Franksen bugs at darcs.net
Wed Aug 14 10:12:18 UTC 2019


Ben Franksen <ben.franksen at online.de> added the comment:

>> enhance security of --inherit-default
> 
>> hunk ./src/Darcs/Repository/Prefs.hs 502
> [...]
>> -- therefore encoded in the user's locale encoding. See issueXXXX 
> 
> issueXXXX should be updated :-)

Thanks for catching that one. I sent a patch that fills in the placeholder.

> To be honest I find the behaviour quite obscure/specialised, but I 
> don't have any major objections if it makes a significant difference 
> to your own workflows. I can't immediately think of anything cleaner 
> that achieves the same goals.

Adding in-repo branches could be a cleaner solution. The only problem
with such branches, if realised in the traditional way, is that we still
have only one working tree. This is often awkward, as switching between
branches then means we have to re-compile and cannot easily use external
tools to compare the branches. Perhaps, when we add branches to Darcs,
we should deviate from the traditional model and allow multiple working
trees for the different branches?

Anyway, for the moment I am satisfied with this work-around. We can
always delete it if we find a better solution.

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


More information about the darcs-devel mailing list