@matheusbsbs / matheus-bagliano / commits / 2104838bf9
Fork 0

Corrected BNF input documentation for fast-import.

Now that fast-import uses uintmax_t (the largest available unsigned integer type) for marks we don't want to say its an unsigned 32 bit integer in ASCII base 10 notation. It could be much larger, especially on 64 bit systems, and especially if a frontend uses a very large number of marks (1 per file revision on a very, very large import). Signed-off-by: Shawn O. Pearce <spearce@spearce.org>

Shawn O. Pearce committed Jan 17, 2007 at 00:33 UTC 2104838bf9b97066f21e4c32efdfa424d41e6b98
1 file changed +2 -1
fast-import.c
+2 -1
@@ -72,6 +72,7 @@ Format of STDIN stream:
72 path_str ::= path | '"' quoted(path) '"' ;
73
74 declen ::= # unsigned 32 bit value, ascii base10 notation;
75 + bigint ::= # unsigned integer value, ascii base10 notation;
76 binary_data ::= # file content, not interpreted;
77
78 sp ::= # ASCII space character;
@@ -81,7 +82,7 @@ Format of STDIN stream:
82 # an idnum. This is to distinguish it from a ref or tag name as
83 # GIT does not permit ':' in ref or tag strings.
84 #
84 - idnum ::= ':' declen;
85 + idnum ::= ':' bigint;
86 path ::= # GIT style file path, e.g. "a/b/c";
87 ref ::= # GIT ref name, e.g. "refs/heads/MOZ_GECKO_EXPERIMENT";
88 tag ::= # GIT tag name, e.g. "FIREFOX_1_5";