Fossil SCM
online docco for [4fe2214116] (support for fossil info / descendants ?-R repo?)
Commit
a336ff53d2d2abfa6d5b80c01b5fec4defb8d3a5
Parent
4fe221411663c2f…
2 files changed
+5
-1
+5
-1
+5
-1
| --- src/descendants.c | ||
| +++ src/descendants.c | ||
| @@ -264,14 +264,18 @@ | ||
| 264 | 264 | } |
| 265 | 265 | |
| 266 | 266 | /* |
| 267 | 267 | ** COMMAND: descendants |
| 268 | 268 | ** |
| 269 | -** Usage: %fossil descendants ?BASELINE-ID? | |
| 269 | +** Usage: %fossil descendants ?BASELINE-ID? ?OPTIONS? | |
| 270 | 270 | ** |
| 271 | 271 | ** Find all leaf descendants of the baseline specified or if the argument |
| 272 | 272 | ** is omitted, of the baseline currently checked out. |
| 273 | +** | |
| 274 | +** Options: | |
| 275 | +** | |
| 276 | +** -R|--repository FILE Extract info from repository FILE | |
| 273 | 277 | */ |
| 274 | 278 | void descendants_cmd(void){ |
| 275 | 279 | Stmt q; |
| 276 | 280 | int base; |
| 277 | 281 | |
| 278 | 282 |
| --- 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 @@ | ||
| 121 | 121 | |
| 122 | 122 | |
| 123 | 123 | /* |
| 124 | 124 | ** COMMAND: info |
| 125 | 125 | ** |
| 126 | -** Usage: %fossil info ?VERSION | REPOSITORY_FILENAME? | |
| 126 | +** Usage: %fossil info ?VERSION | REPOSITORY_FILENAME? ?OPTIONS? | |
| 127 | 127 | ** |
| 128 | 128 | ** With no arguments, provide information about the current tree. |
| 129 | 129 | ** If an argument is specified, provide information about the object |
| 130 | 130 | ** in the respository of the current tree that the argument refers |
| 131 | 131 | ** to. Or if the argument is the name of a repository, show |
| 132 | 132 | ** information about that repository. |
| 133 | 133 | ** |
| 134 | 134 | ** Use the "finfo" command to get information about a specific |
| 135 | 135 | ** file in a checkout. |
| 136 | +** | |
| 137 | +** Options: | |
| 138 | +** | |
| 139 | +** -R|--repository FILE Extract info from repository FILE | |
| 136 | 140 | */ |
| 137 | 141 | void info_cmd(void){ |
| 138 | 142 | i64 fsize; |
| 139 | 143 | if( g.argc==3 && (fsize = file_size(g.argv[2]))>0 && (fsize&0x1ff)==0 ){ |
| 140 | 144 | db_open_config(0); |
| 141 | 145 |
| --- 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 |