Fossil SCM
Added a minor clarification regarding fossilization of strings to the R card demo.
Commit
76d901ddb916e1668af87c54e3ca45666e96aea1
Parent
5885241f52c6182…
1 file changed
+6
+6
| --- www/fileformat.wiki | ||
| +++ www/fileformat.wiki | ||
| @@ -771,5 +771,11 @@ | ||
| 771 | 771 | echo $i $(stat -c '%s' $i); \ |
| 772 | 772 | cat $i; \ |
| 773 | 773 | done | md5sum |
| 774 | 774 | c0788982781981c96a0d81465fec7192 - |
| 775 | 775 | </pre></nowiki> |
| 776 | + | |
| 777 | +Minor caveat: the above demonstration will work only when none of the | |
| 778 | +filenames in the manifest are "fossilized" (encoded) because they contain | |
| 779 | +spaces. In that case the shell-generated hash would differ because the | |
| 780 | +<tt>stat</tt> calls will fail to find such files (which are output in encoded | |
| 781 | +form here). | |
| 776 | 782 |
| --- www/fileformat.wiki | |
| +++ www/fileformat.wiki | |
| @@ -771,5 +771,11 @@ | |
| 771 | echo $i $(stat -c '%s' $i); \ |
| 772 | cat $i; \ |
| 773 | done | md5sum |
| 774 | c0788982781981c96a0d81465fec7192 - |
| 775 | </pre></nowiki> |
| 776 |
| --- www/fileformat.wiki | |
| +++ www/fileformat.wiki | |
| @@ -771,5 +771,11 @@ | |
| 771 | echo $i $(stat -c '%s' $i); \ |
| 772 | cat $i; \ |
| 773 | done | md5sum |
| 774 | c0788982781981c96a0d81465fec7192 - |
| 775 | </pre></nowiki> |
| 776 | |
| 777 | Minor caveat: the above demonstration will work only when none of the |
| 778 | filenames in the manifest are "fossilized" (encoded) because they contain |
| 779 | spaces. In that case the shell-generated hash would differ because the |
| 780 | <tt>stat</tt> calls will fail to find such files (which are output in encoded |
| 781 | form here). |
| 782 |