Fossil
Check-in [69dcef960f]
Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview

SHA1 Hash:69dcef960f6d5d8bb3a3f79d038c58e83e186823
Date: 2010-03-07 17:43:00
User: drh
Comment:Clean up formatting and comments asociated with the "new" command. No changes to functionality.

Tags And Properties
Changes
[hide diffs]

Changes to src/db.c

@@ -905,11 +905,15 @@
 ** The zInitialDate parameter determines the date of the initial check-in
 ** that is automatically created.  If zInitialDate is 0 then no initial
 ** check-in is created. The makeServerCodes flag determines whether or
 ** not server and project codes are invented for this repository.
 */
-void db_initial_setup (const char *zInitialDate, const char *zDefaultUser, int makeServerCodes){
+void db_initial_setup(
+  const char *zInitialDate,    /* Initial date of repository. (ex: "now") */
+  const char *zDefaultUser,    /* Default user for the repository */
+  int makeServerCodes          /* True to make new server & project codes */
+){
   char *zDate;
   Blob hash;
   Blob manifest;
 
   db_set("content-schema", CONTENT_SCHEMA, 0);
@@ -962,10 +966,11 @@
 ** parameter.
 **
 ** Options:
 **
 **    --admin-user|-A USERNAME
+**    --date-override DATETIME
 **
 */
 void create_repository_cmd(void){
   char *zPassword;
   const char *zDate;          /* Date of the initial check-in */