Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Remove the unreachable usage() from the "fossil branch" command. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
90e75800c1149a4750db6b4517f05096 |
| User & Date: | drh 2014-09-10 11:22:21.237 |
Context
|
2014-09-10
| ||
| 18:37 | Add support for using TH1 for embedded documentation files. Disabled by default at compile-time and at runtime. ... (check-in: c91bafccb5 user: mistachkin tags: trunk) | |
| 11:22 | Remove the unreachable usage() from the "fossil branch" command. ... (check-in: 90e75800c1 user: drh tags: trunk) | |
| 01:39 | Fix a typo in help text. ... (check-in: fe46cc6532 user: drh tags: trunk) | |
Changes
Changes to src/branch.c.
| ︙ | ︙ | |||
250 251 252 253 254 255 256 |
** Options:
** -R|--repository FILE Run commands on repository FILE
*/
void branch_cmd(void){
int n;
const char *zCmd = "list";
db_find_and_open_repository(0, 0);
| < < < | 250 251 252 253 254 255 256 257 258 259 260 261 262 263 |
** Options:
** -R|--repository FILE Run commands on repository FILE
*/
void branch_cmd(void){
int n;
const char *zCmd = "list";
db_find_and_open_repository(0, 0);
if( g.argc>=3 ) zCmd = g.argv[2];
n = strlen(zCmd);
if( strncmp(zCmd,"new",n)==0 ){
branch_new();
}else if( (strncmp(zCmd,"list",n)==0)||(strncmp(zCmd, "ls", n)==0) ){
Stmt q;
int vid;
|
| ︙ | ︙ |