382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
|
** Either no timezone suffix or "Z" means UTC.
**
** Options:
** -R|--repository FILE Run commands on repository FILE
**
** Summary:
** fossil branch current
** fossil branch info BRANCHNAME
** fossil branch [list|ls]
** fossil branch new
*/
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);
|
|
|
|
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
|
** Either no timezone suffix or "Z" means UTC.
**
** Options:
** -R|--repository FILE Run commands on repository FILE
**
** Summary:
** fossil branch current
** fossil branch info BRANCH-NAME
** fossil branch [list|ls]
** fossil branch new BRANCH-NAME BASIS
*/
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);
|