Fossil SCM
More documentation about what the --verbose flag does for "fossil info".
Commit
9167b2d64a848ab1214ca83b1afebb33964d835cbbd86f0e2be7e1f56c9f69e1
Parent
a314178a815645d…
1 file changed
+8
-2
+8
-2
| --- src/info.c | ||
| +++ src/info.c | ||
| @@ -162,11 +162,12 @@ | ||
| 162 | 162 | */ |
| 163 | 163 | static void showParentProject(void){ |
| 164 | 164 | const char *zParentCode; |
| 165 | 165 | zParentCode = db_get("parent-project-code",0); |
| 166 | 166 | 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","")); | |
| 168 | 169 | } |
| 169 | 170 | } |
| 170 | 171 | |
| 171 | 172 | |
| 172 | 173 | /* |
| @@ -178,17 +179,22 @@ | ||
| 178 | 179 | ** If an argument is specified, provide information about the object |
| 179 | 180 | ** in the repository of the current tree that the argument refers |
| 180 | 181 | ** to. Or if the argument is the name of a repository, show |
| 181 | 182 | ** information about that repository. |
| 182 | 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 | +** | |
| 183 | 189 | ** Use the "finfo" command to get information about a specific |
| 184 | 190 | ** file in a checkout. |
| 185 | 191 | ** |
| 186 | 192 | ** Options: |
| 187 | 193 | ** |
| 188 | 194 | ** -R|--repository FILE Extract info from repository FILE |
| 189 | -** -v|--verbose Show extra information | |
| 195 | +** -v|--verbose Show extra information about repositories | |
| 190 | 196 | ** |
| 191 | 197 | ** See also: annotate, artifact, finfo, timeline |
| 192 | 198 | */ |
| 193 | 199 | void info_cmd(void){ |
| 194 | 200 | i64 fsize; |
| 195 | 201 |
| --- 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 |