Fossil SCM

More documentation about what the --verbose flag does for "fossil info".

drh 2017-07-12 02:49 trunk
Commit 9167b2d64a848ab1214ca83b1afebb33964d835cbbd86f0e2be7e1f56c9f69e1
1 file changed +8 -2
+8 -2
--- src/info.c
+++ src/info.c
@@ -162,11 +162,12 @@
162162
*/
163163
static void showParentProject(void){
164164
const char *zParentCode;
165165
zParentCode = db_get("parent-project-code",0);
166166
if( zParentCode ){
167
- fossil_print("derived-from: %s %s\n", zParentCode, db_get("parent-project-name",""));
167
+ fossil_print("derived-from: %s %s\n", zParentCode,
168
+ db_get("parent-project-name",""));
168169
}
169170
}
170171
171172
172173
/*
@@ -178,17 +179,22 @@
178179
** If an argument is specified, provide information about the object
179180
** in the repository of the current tree that the argument refers
180181
** to. Or if the argument is the name of a repository, show
181182
** information about that repository.
182183
**
184
+** If the argument is a repository name, then the --verbose option shows
185
+** known the check-out locations for that repository and all URLs used
186
+** to access the repository. The --verbose is (currently) a no-op if
187
+** the argument is the name of a object within the repository.
188
+**
183189
** Use the "finfo" command to get information about a specific
184190
** file in a checkout.
185191
**
186192
** Options:
187193
**
188194
** -R|--repository FILE Extract info from repository FILE
189
-** -v|--verbose Show extra information
195
+** -v|--verbose Show extra information about repositories
190196
**
191197
** See also: annotate, artifact, finfo, timeline
192198
*/
193199
void info_cmd(void){
194200
i64 fsize;
195201
--- src/info.c
+++ src/info.c
@@ -162,11 +162,12 @@
162 */
163 static void showParentProject(void){
164 const char *zParentCode;
165 zParentCode = db_get("parent-project-code",0);
166 if( zParentCode ){
167 fossil_print("derived-from: %s %s\n", zParentCode, db_get("parent-project-name",""));
 
168 }
169 }
170
171
172 /*
@@ -178,17 +179,22 @@
178 ** If an argument is specified, provide information about the object
179 ** in the repository of the current tree that the argument refers
180 ** to. Or if the argument is the name of a repository, show
181 ** information about that repository.
182 **
 
 
 
 
 
183 ** Use the "finfo" command to get information about a specific
184 ** file in a checkout.
185 **
186 ** Options:
187 **
188 ** -R|--repository FILE Extract info from repository FILE
189 ** -v|--verbose Show extra information
190 **
191 ** See also: annotate, artifact, finfo, timeline
192 */
193 void info_cmd(void){
194 i64 fsize;
195
--- src/info.c
+++ src/info.c
@@ -162,11 +162,12 @@
162 */
163 static void showParentProject(void){
164 const char *zParentCode;
165 zParentCode = db_get("parent-project-code",0);
166 if( zParentCode ){
167 fossil_print("derived-from: %s %s\n", zParentCode,
168 db_get("parent-project-name",""));
169 }
170 }
171
172
173 /*
@@ -178,17 +179,22 @@
179 ** If an argument is specified, provide information about the object
180 ** in the repository of the current tree that the argument refers
181 ** to. Or if the argument is the name of a repository, show
182 ** information about that repository.
183 **
184 ** If the argument is a repository name, then the --verbose option shows
185 ** known the check-out locations for that repository and all URLs used
186 ** to access the repository. The --verbose is (currently) a no-op if
187 ** the argument is the name of a object within the repository.
188 **
189 ** Use the "finfo" command to get information about a specific
190 ** file in a checkout.
191 **
192 ** Options:
193 **
194 ** -R|--repository FILE Extract info from repository FILE
195 ** -v|--verbose Show extra information about repositories
196 **
197 ** See also: annotate, artifact, finfo, timeline
198 */
199 void info_cmd(void){
200 i64 fsize;
201

Keyboard Shortcuts

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