Fossil SCM

Clean up formatting and comments asociated with the "new" command. No changes to functionality.

drh 2010-03-07 17:43 trunk
Commit 69dcef960f6d5d8bb3a3f79d038c58e83e186823
1 file changed +6 -1
+6 -1
--- src/db.c
+++ src/db.c
@@ -905,11 +905,15 @@
905905
** The zInitialDate parameter determines the date of the initial check-in
906906
** that is automatically created. If zInitialDate is 0 then no initial
907907
** check-in is created. The makeServerCodes flag determines whether or
908908
** not server and project codes are invented for this repository.
909909
*/
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
+){
911915
char *zDate;
912916
Blob hash;
913917
Blob manifest;
914918
915919
db_set("content-schema", CONTENT_SCHEMA, 0);
@@ -962,10 +966,11 @@
962966
** parameter.
963967
**
964968
** Options:
965969
**
966970
** --admin-user|-A USERNAME
971
+** --date-override DATETIME
967972
**
968973
*/
969974
void create_repository_cmd(void){
970975
char *zPassword;
971976
const char *zDate; /* Date of the initial check-in */
972977
--- 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

Keyboard Shortcuts

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