Fossil SCM

Added a minor clarification regarding fossilization of strings to the R card demo.

stephan 2013-08-16 09:14 trunk
Commit 76d901ddb916e1668af87c54e3ca45666e96aea1
1 file changed +6
--- www/fileformat.wiki
+++ www/fileformat.wiki
@@ -771,5 +771,11 @@
771771
echo $i $(stat -c '%s' $i); \
772772
cat $i; \
773773
done | md5sum
774774
c0788982781981c96a0d81465fec7192 -
775775
</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).
776782
--- 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

Keyboard Shortcuts

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