Differences From:
File
www/fileformat.wiki
part of check-in
[c8893c69ac]
- Documentation updates.
by
drh on
2008-10-05 01:03:25.
[view]
To:
File
www/fileformat.wiki
part of check-in
[2bde9f9b3d]
- Add "ci" as an alias for "commit". Make provisions for a future "fossil mv"
command.
by
drh on
2008-10-21 06:10:33.
[view]
@@ -90,9 +90,9 @@
<blockquote>
<b>C</b> <i>checkin-comment</i><br>
<b>D</b> <i>time-and-date-stamp</i><br>
-<b>F</b> <i>filename</i> <i>SHA1-hash</i><br>
+<b>F</b> <i>filename</i> <i>SHA1-hash</i> <i>permissions</i> <i>old-name</i><br>
<b>P</b> <i>SHA1-hash</i>+<br>
<b>R</b> <i>repository-checksum</i><br>
<b>U</b> <i>user-login</i><br>
<b>Z</b> <i>manifest-checksum</i>
@@ -124,17 +124,32 @@
<p>
A manifest has zero or more F-cards. Each F-card defines a file
(other than the manifest itself) which is part of the baseline that
-the manifest defines. There are two arguments. The first argment
+the manifest defines. There are two, three, or three arguments.
+The first argment
is the pathname of the file in the baseline relative to the root
of the project file hierarchy. No ".." or "." directories are allowed
within the filename. Space characters are escaped as in C-card
comment text. Backslash characters and newlines are not allowed
within filenames. The directory separator character is a forward
slash (ASCII 0x2F). The second argument to the F-card is the
full 40-character lower-case hexadecimal SHA1 hash of the content
-artifact.
+artifact. The optional 3rd argument defines any special access
+permissions associated with the file. The only special code currently
+defined is "x" which means that the file is executable. All files are
+always readable and writable. This can be expressed by "w" permission
+if desired but is optional.
+The optional 4th argument is the name of the same file as it existed in
+the parent baseline. If the name of the file is unchanged from its
+parent, then the 4th argument is omitted.
+</p>
+
+<p>
+A manifest has zero or more N-cards. Each N card records a name changes
+to one of the files in the manifest. The first argument to the N code is
+the name of the file in the parent baseline. The second argument is the
+name of the file in the baseline defined by the manifest.
</p>
<p>
A manifest has zero or one P-cards. Most manifests have one P-card.