Diff
Not logged in

Differences From:

File src/info.c part of check-in [96c1043c61] - When listing the history of a file, show the check-in associated with each new version of that file. by drh on 2009-08-31 00:09:16. [view]

To:

File src/info.c part of check-in [7a2c37063a] - merge trunk into creole branch by bob on 2009-09-22 07:49:39. Also file src/info.c part of check-in [bbd758ecc3] - Always print the "project-name" using the command-line "info" command. Avoid an extra "/" character when constructing files for check-in. by drh on 2009-09-11 18:27:55. [view]

@@ -115,10 +115,10 @@
   if( g.argc==3 && (fsize = file_size(g.argv[2]))>0 && (fsize&0x1ff)==0 ){
     db_open_config(0);
     db_record_repository_filename(g.argv[2]);
     db_open_repository(g.argv[2]);
-    printf("project-code: %s\n", db_get("project-code", "<none>"));
     printf("project-name: %s\n", db_get("project-name", "<unnamed>"));
+    printf("project-code: %s\n", db_get("project-code", "<none>"));
     printf("server-code:  %s\n", db_get("server-code", "<none>"));
     return;
   }
   db_must_be_within_tree();
@@ -125,8 +125,9 @@
   if( g.argc==2 ){
     int vid;
          /* 012345678901234 */
     db_record_repository_filename(0);
+    printf("project-name: %s\n", db_get("project-name", "<unnamed>"));
     printf("repository:   %s\n", db_lget("repository", ""));
     printf("local-root:   %s\n", g.zLocalRoot);
     printf("project-code: %s\n", db_get("project-code", ""));
     printf("server-code:  %s\n", db_get("server-code", ""));