Fossil SCM

online docco for [4fe2214116] (support for fossil info / descendants ?-R repo?)

martin.weber 2011-09-13 12:42 trunk
Commit a336ff53d2d2abfa6d5b80c01b5fec4defb8d3a5
2 files changed +5 -1 +5 -1
--- src/descendants.c
+++ src/descendants.c
@@ -264,14 +264,18 @@
264264
}
265265
266266
/*
267267
** COMMAND: descendants
268268
**
269
-** Usage: %fossil descendants ?BASELINE-ID?
269
+** Usage: %fossil descendants ?BASELINE-ID? ?OPTIONS?
270270
**
271271
** Find all leaf descendants of the baseline specified or if the argument
272272
** is omitted, of the baseline currently checked out.
273
+**
274
+** Options:
275
+**
276
+** -R|--repository FILE Extract info from repository FILE
273277
*/
274278
void descendants_cmd(void){
275279
Stmt q;
276280
int base;
277281
278282
--- src/descendants.c
+++ src/descendants.c
@@ -264,14 +264,18 @@
264 }
265
266 /*
267 ** COMMAND: descendants
268 **
269 ** Usage: %fossil descendants ?BASELINE-ID?
270 **
271 ** Find all leaf descendants of the baseline specified or if the argument
272 ** is omitted, of the baseline currently checked out.
 
 
 
 
273 */
274 void descendants_cmd(void){
275 Stmt q;
276 int base;
277
278
--- src/descendants.c
+++ src/descendants.c
@@ -264,14 +264,18 @@
264 }
265
266 /*
267 ** COMMAND: descendants
268 **
269 ** Usage: %fossil descendants ?BASELINE-ID? ?OPTIONS?
270 **
271 ** Find all leaf descendants of the baseline specified or if the argument
272 ** is omitted, of the baseline currently checked out.
273 **
274 ** Options:
275 **
276 ** -R|--repository FILE Extract info from repository FILE
277 */
278 void descendants_cmd(void){
279 Stmt q;
280 int base;
281
282
+5 -1
--- src/info.c
+++ src/info.c
@@ -121,20 +121,24 @@
121121
122122
123123
/*
124124
** COMMAND: info
125125
**
126
-** Usage: %fossil info ?VERSION | REPOSITORY_FILENAME?
126
+** Usage: %fossil info ?VERSION | REPOSITORY_FILENAME? ?OPTIONS?
127127
**
128128
** With no arguments, provide information about the current tree.
129129
** If an argument is specified, provide information about the object
130130
** in the respository of the current tree that the argument refers
131131
** to. Or if the argument is the name of a repository, show
132132
** information about that repository.
133133
**
134134
** Use the "finfo" command to get information about a specific
135135
** file in a checkout.
136
+**
137
+** Options:
138
+**
139
+** -R|--repository FILE Extract info from repository FILE
136140
*/
137141
void info_cmd(void){
138142
i64 fsize;
139143
if( g.argc==3 && (fsize = file_size(g.argv[2]))>0 && (fsize&0x1ff)==0 ){
140144
db_open_config(0);
141145
--- src/info.c
+++ src/info.c
@@ -121,20 +121,24 @@
121
122
123 /*
124 ** COMMAND: info
125 **
126 ** Usage: %fossil info ?VERSION | REPOSITORY_FILENAME?
127 **
128 ** With no arguments, provide information about the current tree.
129 ** If an argument is specified, provide information about the object
130 ** in the respository of the current tree that the argument refers
131 ** to. Or if the argument is the name of a repository, show
132 ** information about that repository.
133 **
134 ** Use the "finfo" command to get information about a specific
135 ** file in a checkout.
 
 
 
 
136 */
137 void info_cmd(void){
138 i64 fsize;
139 if( g.argc==3 && (fsize = file_size(g.argv[2]))>0 && (fsize&0x1ff)==0 ){
140 db_open_config(0);
141
--- src/info.c
+++ src/info.c
@@ -121,20 +121,24 @@
121
122
123 /*
124 ** COMMAND: info
125 **
126 ** Usage: %fossil info ?VERSION | REPOSITORY_FILENAME? ?OPTIONS?
127 **
128 ** With no arguments, provide information about the current tree.
129 ** If an argument is specified, provide information about the object
130 ** in the respository of the current tree that the argument refers
131 ** to. Or if the argument is the name of a repository, show
132 ** information about that repository.
133 **
134 ** Use the "finfo" command to get information about a specific
135 ** file in a checkout.
136 **
137 ** Options:
138 **
139 ** -R|--repository FILE Extract info from repository FILE
140 */
141 void info_cmd(void){
142 i64 fsize;
143 if( g.argc==3 && (fsize = file_size(g.argv[2]))>0 && (fsize&0x1ff)==0 ){
144 db_open_config(0);
145

Keyboard Shortcuts

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