Browse Source

Remove incorrect definition of lexical order.

For the correct definition of lexical order, search for "lexical
comparison".  It's what your favorite language does for string
comparison, unless your favorite language is something really

In short:
    If A and B are equal at every position, they are lexically equal.
    Otherwise, if A is a prefix of B, A precedes B.
    Otherwise, let i be the first position where A differs from
      B. If A[i] precedes B[i], A precedes B.
Nick Mathewson 7 years ago
1 changed files with 1 additions and 2 deletions
  1. 1 2

+ 1 - 2

@@ -33,8 +33,7 @@
  release. If the tag ends with "-cvs" or "-dev", you're looking at a
  development snapshot that came after a given release.  If we *do*
  encounter two versions that differ only by status tag, we compare them
- lexically as ASCII byte strings (ie, reverse-alphabetically so 'b' comes
- before 'a'). The STATUS_TAG can't contain whitespace.
+ lexically. The STATUS_TAG can't contain whitespace.
  The EXTRA_INFO is also purely informational, often containing information
  about the SCM commit this version came from. It is surrounded by parentheses