On Fri, Aug 16, 2013 at 5:38 PM, Richard Hipp <d...@sqlite.org> wrote:

> It is important to keep the artifact format as simple as possible.  And
> "cards are in lexicographical order" is much simpler than "the first two
> fields of cards are in lexicographical order except that if the first
> character of the second field of a J card is + or - or * then that
> character is elided and the comparison occurs on the remaining
> characters".  The first rule is way simpler both in statement and in
> implementation.
>

Just for my own clarification: the +/-/* characters for the various cards
_are_ counted as part of the name for sorting purposes, correct?

Now, if there were a compelling reason to go with the more complicated
> rule, we might consider it.  But I can think of no good reason to have two
> J cards on the same field in the same artifact as they can be easily
> combined on client side before the artifact is created and there is no good
> reason to allow T cards to be out-of-order as they can be easily sorted by
> the client.
>

Sorted in what way, though? In Jan's example the keys and timestamps were
identical. Do you means that in such cases the client should sort them
however he likes (e.g. by tag value if it makes sense to do so)? If that's
what you mean, i can't argue against it.

-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to