Fossil SCM
Clean up formatting and comments asociated with the "new" command. No changes to functionality.
Commit
69dcef960f6d5d8bb3a3f79d038c58e83e186823
Parent
42a964c585fe40c…
1 file changed
+6
-1
M
src/db.c
+6
-1
| --- src/db.c | ||
| +++ src/db.c | ||
| @@ -905,11 +905,15 @@ | ||
| 905 | 905 | ** The zInitialDate parameter determines the date of the initial check-in |
| 906 | 906 | ** that is automatically created. If zInitialDate is 0 then no initial |
| 907 | 907 | ** check-in is created. The makeServerCodes flag determines whether or |
| 908 | 908 | ** not server and project codes are invented for this repository. |
| 909 | 909 | */ |
| 910 | -void db_initial_setup (const char *zInitialDate, const char *zDefaultUser, int makeServerCodes){ | |
| 910 | +void db_initial_setup( | |
| 911 | + const char *zInitialDate, /* Initial date of repository. (ex: "now") */ | |
| 912 | + const char *zDefaultUser, /* Default user for the repository */ | |
| 913 | + int makeServerCodes /* True to make new server & project codes */ | |
| 914 | +){ | |
| 911 | 915 | char *zDate; |
| 912 | 916 | Blob hash; |
| 913 | 917 | Blob manifest; |
| 914 | 918 | |
| 915 | 919 | db_set("content-schema", CONTENT_SCHEMA, 0); |
| @@ -962,10 +966,11 @@ | ||
| 962 | 966 | ** parameter. |
| 963 | 967 | ** |
| 964 | 968 | ** Options: |
| 965 | 969 | ** |
| 966 | 970 | ** --admin-user|-A USERNAME |
| 971 | +** --date-override DATETIME | |
| 967 | 972 | ** |
| 968 | 973 | */ |
| 969 | 974 | void create_repository_cmd(void){ |
| 970 | 975 | char *zPassword; |
| 971 | 976 | const char *zDate; /* Date of the initial check-in */ |
| 972 | 977 |
| --- src/db.c | |
| +++ src/db.c | |
| @@ -905,11 +905,15 @@ | |
| 905 | ** The zInitialDate parameter determines the date of the initial check-in |
| 906 | ** that is automatically created. If zInitialDate is 0 then no initial |
| 907 | ** check-in is created. The makeServerCodes flag determines whether or |
| 908 | ** not server and project codes are invented for this repository. |
| 909 | */ |
| 910 | void db_initial_setup (const char *zInitialDate, const char *zDefaultUser, int makeServerCodes){ |
| 911 | char *zDate; |
| 912 | Blob hash; |
| 913 | Blob manifest; |
| 914 | |
| 915 | db_set("content-schema", CONTENT_SCHEMA, 0); |
| @@ -962,10 +966,11 @@ | |
| 962 | ** parameter. |
| 963 | ** |
| 964 | ** Options: |
| 965 | ** |
| 966 | ** --admin-user|-A USERNAME |
| 967 | ** |
| 968 | */ |
| 969 | void create_repository_cmd(void){ |
| 970 | char *zPassword; |
| 971 | const char *zDate; /* Date of the initial check-in */ |
| 972 |
| --- src/db.c | |
| +++ src/db.c | |
| @@ -905,11 +905,15 @@ | |
| 905 | ** The zInitialDate parameter determines the date of the initial check-in |
| 906 | ** that is automatically created. If zInitialDate is 0 then no initial |
| 907 | ** check-in is created. The makeServerCodes flag determines whether or |
| 908 | ** not server and project codes are invented for this repository. |
| 909 | */ |
| 910 | void db_initial_setup( |
| 911 | const char *zInitialDate, /* Initial date of repository. (ex: "now") */ |
| 912 | const char *zDefaultUser, /* Default user for the repository */ |
| 913 | int makeServerCodes /* True to make new server & project codes */ |
| 914 | ){ |
| 915 | char *zDate; |
| 916 | Blob hash; |
| 917 | Blob manifest; |
| 918 | |
| 919 | db_set("content-schema", CONTENT_SCHEMA, 0); |
| @@ -962,10 +966,11 @@ | |
| 966 | ** parameter. |
| 967 | ** |
| 968 | ** Options: |
| 969 | ** |
| 970 | ** --admin-user|-A USERNAME |
| 971 | ** --date-override DATETIME |
| 972 | ** |
| 973 | */ |
| 974 | void create_repository_cmd(void){ |
| 975 | char *zPassword; |
| 976 | const char *zDate; /* Date of the initial check-in */ |
| 977 |