Diff
Not logged in

Differences From:

File src/descendents.c part of check-in [394505791628e] - Add primitive start-time and duration controols to the timeline. Additional checksums on check-in and check-out. by drh on 2007-08-01 21:03:03. [view]

To:

File src/descendents.c part of check-in [c9fdb846fb] - Add the "help" command and the "clean" command. More work is needed on the text for various help messages. by drh on 2007-08-18 02:45:47. [view]

@@ -66,8 +66,9 @@
 
 /*
 ** COMMAND:  leaves
 **
+** Usage: %fossil leaves ?UUID?
 ** Find all leaf descendents of the current version or of the
 ** specified version.
 */
 void leaves_cmd(void){
@@ -95,21 +96,15 @@
 
 /*
 ** COMMAND:  branches
 **
+** Usage: %fossil branches
 ** Find leaves of all branches.
 */
 void branches_cmd(void){
   Stmt q;
-  int base;
 
   db_must_be_within_tree();
-  if( g.argc==2 ){
-    base = db_lget_int("checkout", 0);
-  }else{
-    base = name_to_rid(g.argv[2]);
-  }
-  if( base==0 ) return;
   db_prepare(&q,
     "SELECT blob.uuid, datetime(event.mtime,'localtime'), event.comment"
     "  FROM blob, event"
     " WHERE blob.rid IN"