(CC'ing darcs-users since it's a high-level decision on the design of
Darcs repositories)

Here is the situation with _darcs/format:

* there is a defined semantics :
http://article.gmane.org/gmane.comp.version-control.darcs.devel/5393
* if we want to use this semantics for expressing that a repository is
without working tree, we will run into a problem when we have a new
kind of repositories : http://bugs.darcs.net/msg12892
* I proposed a change in the semantics :
http://bugs.darcs.net/msg12949 , http://bugs.darcs.net/msg12948
* but I'm not sure if it is really a good solution…

At least the change is harmless because as of now, Darcs is the only
Darcs client and never writes "xxx|yyy" in _darcs/format .

Why we should decide this change soon:
 * so that it can be put into darcs 2.5.1
 * the feature no-working-tree repositories depends on this and it
would be a shame to delay this because of lack of discussion

Guillaume

2010/11/8 gh <b...@darcs.net>:
>
> gh <guilla...@gmail.com> added the comment:
>
>>> So, what about agreeing to interpret _darcs/format lines "A|B|..|X"
>>> as: A is necessary to read the repos, and A, B ... to X are necessary
>>> to write to it?
>>>
>> I thought about it, but this means breaking compatbility: we'd have to
>> write it under _darcs/format2, and have _darcs/format be the single line
>> 'format2'. The problem is that we cannot change how darcs 2.5 (or 2.4)
>> reads _darcs/format, so we cannot afford to have a "new semantics"
>> alternative with already known properties (for instance, no
>> darcs3|hashed). That should not be an insurmontable problem, given that
>> darcs 2.5 understands very few format strings, but it is bug prone.
>
> See below:
>
>> Stupid question: does '|' ever appear in current repositories?
>
> I believe not (although Eric should confirm). This is why I think
> changing the semantics before we introduce '|' can be done.
> We are lucky that the only darcs clients that exist (as of now) are ours.
>
> So this is not a stupid question at all, this is THE question :-)
>
> Guillaume
>
> __________________________________
> Darcs bug tracker <b...@darcs.net>
> <http://bugs.darcs.net/issue1978>
> __________________________________
>
_______________________________________________
darcs-users mailing list
darcs-users@darcs.net
http://lists.osuosl.org/mailman/listinfo/darcs-users

Reply via email to