On Mon, Feb 9, 2015 at 7:57 PM, j. van den hoff <veedeeh...@googlemail.com>
wrote:

> (1) Minimum of 10 characters
>> (2) Longer as needed to include at least one character in [a-f]
>>
>
> why this constraint (requiring occurence of one out of [a-f])? at which
> point would something happen
> without it? it introduces a potential irregularity in the appearance of
> the timeline (at least with constant width font/on the command line)
>

Not sure if that got answered sufficiently. The reason is that without a
letter, the number can potentially be interpreted as a decimal numeric
string, which it is not. AFAIK there is no code directly in Fossil which
would treat it as such, but copy/pasting the hash, as well as using such a
hash in JS via the JSON API, could very well cause misinterpretation of
1234567890 as a decimal number. Ensuring at least one of [a-f] eliminates
that problem.


> and makes parsing by scripts slightly more complicated.


i would argue the opposite - it hardens them against misinterpretation.

-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal
"Freedom is sloppy. But since tyranny's the only guaranteed byproduct of
those who insist on a perfect world, freedom will have to do." -- Bigby Wolf
_______________________________________________
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