Diff
Not logged in

Differences From:

File src/schema.c part of check-in [2dffce041d] - Add the ability to detect file changes using only the mtime. This is turned on using the "fossil setting mtime-changes ON" command. It is off by default, but it does make many operations go much faster, especially on large repositories, so we might want to start turning it on by default. by drh on 2008-12-06 18:02:21. [view]

To:

File src/schema.c part of check-in [b6e22e62cf] - Attempting to rationalize the tagging and branching logic. The "branch" command has been resurrected and appears to work now. The "tag branch" command has been removed. Special tags "newbranch" and "closed" used to manage branches. New changes are not well-tested - use with caution. You must "rebuild" when upgrading through this version. by drh on 2009-01-20 16:51:19. [view]

@@ -281,8 +281,10 @@
 @ INSERT INTO tag VALUES(3, 'user');            -- TAG_USER
 @ INSERT INTO tag VALUES(4, 'hidden');          -- TAG_HIDDEN
 @ INSERT INTO tag VALUES(5, 'private');         -- TAG_PRIVATE
 @ INSERT INTO tag VALUES(6, 'cluster');         -- TAG_CLUSTER
+@ INSERT INTO tag VALUES(7, 'newbranch');       -- TAG_NEWBRANCH
+@ INSERT INTO tag VALUES(8, 'closed');          -- TAG_CLOSED
 @
 @ -- Assignments of tags to baselines.  Note that we allow tags to
 @ -- have values assigned to them.  So we are not really dealing with
 @ -- tags here.  These are really properties.  But we are going to
@@ -332,11 +334,13 @@
 # define TAG_USER       3     /* User who made a checking */
 # define TAG_HIDDEN     4     /* Do not display or sync */
 # define TAG_PRIVATE    5     /* Display but do not sync */
 # define TAG_CLUSTER    6     /* A cluster */
+# define TAG_NEWBRANCH  7     /* First check-in of a new named branch */
+# define TAG_CLOSED     8     /* Do not display this check-in as a leaf */
 #endif
 #if EXPORT_INTERFACE
-# define MAX_INT_TAG    6     /* The largest pre-assigned tag id */
+# define MAX_INT_TAG    8     /* The largest pre-assigned tag id */
 #endif
 
 /*
 ** The schema for the locate FOSSIL database file found at the root