Overview
SHA1 Hash: | bc68e61bb2880605a4c0ddc9a0a42ff5a693d882 |
---|---|
Date: | 2007-09-14 21:24:15 |
User: | drh |
Comment: | Rename CLI commands: leaves->descendents and branches->leaves. |
Timelines: | ancestors | descendants | both | trunk |
Other Links: | files | ZIP archive | manifest |
Tags And Properties
- branch=trunk inherited from [a28c83647d]
- sym-trunk inherited from [a28c83647d]
Changes
[hide diffs]Modified src/descendents.c from [7c7444f8a0] to [fc1b9b6b12].
@@ -128,17 +128,17 @@ bag_clear(&seen); pqueue_clear(&queue); } /* -** COMMAND: leaves +** COMMAND: descendents ** -** Usage: %fossil leaves ?UUID? +** Usage: %fossil descendents ?UUID? ** Find all leaf descendents of the current version or of the ** specified version. */ -void leaves_cmd(void){ +void descendents_cmd(void){ Stmt q; int base; db_must_be_within_tree(); if( g.argc==2 ){ @@ -159,13 +159,13 @@ print_timeline(&q, 20); db_finalize(&q); } /* -** COMMAND: branches +** COMMAND: leaves ** -** Usage: %fossil branches +** Usage: %fossil leaves ** Find leaves of all branches. */ void branches_cmd(void){ Stmt q; @@ -178,11 +178,11 @@ " WHERE blob.rid IN" " (SELECT cid FROM plink EXCEPT SELECT pid FROM plink)" " AND event.objid=blob.rid" " ORDER BY event.mtime DESC" ); - print_timeline(&q, 20); + print_timeline(&q, 2000); db_finalize(&q); } /* ** WEBPAGE: leaves