Fossil SCM
Reword the message printed on the /info page when the UUID is not found and is less than 4 characters.
Commit
36ffa749f0a02adc69c662c9d3db1d2b66141ed6
Parent
2aaae64a592d4fd…
1 file changed
+2
-1
+2
-1
| --- src/info.c | ||
| +++ src/info.c | ||
| @@ -1917,11 +1917,12 @@ | ||
| 1917 | 1917 | } |
| 1918 | 1918 | } |
| 1919 | 1919 | style_header("No Such Object"); |
| 1920 | 1920 | @ <p>No such object: %h(zName)</p> |
| 1921 | 1921 | if( nLen<4 ){ |
| 1922 | - @ <p>Objects of length < 4 are too ambiguous to worry about</p> | |
| 1922 | + @ <p>Object name should be no less than 4 characters. Ten or more | |
| 1923 | + @ characters are recommended.</p> | |
| 1923 | 1924 | } |
| 1924 | 1925 | style_footer(); |
| 1925 | 1926 | return; |
| 1926 | 1927 | }else if( rc==2 ){ |
| 1927 | 1928 | cgi_set_parameter("src","info"); |
| 1928 | 1929 |
| --- src/info.c | |
| +++ src/info.c | |
| @@ -1917,11 +1917,12 @@ | |
| 1917 | } |
| 1918 | } |
| 1919 | style_header("No Such Object"); |
| 1920 | @ <p>No such object: %h(zName)</p> |
| 1921 | if( nLen<4 ){ |
| 1922 | @ <p>Objects of length < 4 are too ambiguous to worry about</p> |
| 1923 | } |
| 1924 | style_footer(); |
| 1925 | return; |
| 1926 | }else if( rc==2 ){ |
| 1927 | cgi_set_parameter("src","info"); |
| 1928 |
| --- src/info.c | |
| +++ src/info.c | |
| @@ -1917,11 +1917,12 @@ | |
| 1917 | } |
| 1918 | } |
| 1919 | style_header("No Such Object"); |
| 1920 | @ <p>No such object: %h(zName)</p> |
| 1921 | if( nLen<4 ){ |
| 1922 | @ <p>Object name should be no less than 4 characters. Ten or more |
| 1923 | @ characters are recommended.</p> |
| 1924 | } |
| 1925 | style_footer(); |
| 1926 | return; |
| 1927 | }else if( rc==2 ){ |
| 1928 | cgi_set_parameter("src","info"); |
| 1929 |