Fossil SCM

Reword the message printed on the /info page when the UUID is not found and is less than 4 characters.

drh 2014-04-22 17:22 trunk
Commit 36ffa749f0a02adc69c662c9d3db1d2b66141ed6
1 file changed +2 -1
+2 -1
--- src/info.c
+++ src/info.c
@@ -1917,11 +1917,12 @@
19171917
}
19181918
}
19191919
style_header("No Such Object");
19201920
@ <p>No such object: %h(zName)</p>
19211921
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>
19231924
}
19241925
style_footer();
19251926
return;
19261927
}else if( rc==2 ){
19271928
cgi_set_parameter("src","info");
19281929
--- 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

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button