Fossil SCM

Document "fossil tag --type TYPE" and "fossil timeline --count N --type TYPE"

jan.nijtmans 2013-04-17 14:00 trunk
Commit f8e526c212a28988ea0a8839c51d74053229c761
2 files changed +2 -2 +2 -2
+2 -2
--- src/tag.c
+++ src/tag.c
@@ -348,11 +348,11 @@
348348
** %fossil tag cancel ?--raw? TAGNAME CHECK-IN
349349
**
350350
** Remove the tag TAGNAME from CHECK-IN, and also remove
351351
** the propagation of the tag to any descendants.
352352
**
353
-** %fossil tag find ?--raw? ?--type TYPE? TAGNAME
353
+** %fossil tag find ?--raw? ?-t|--type TYPE? TAGNAME
354354
**
355355
** List all objects that use TAGNAME. TYPE can be "ci" for
356356
** checkins or "e" for events.
357357
**
358358
** %fossil tag list ?--raw? ?CHECK-IN?
@@ -430,11 +430,11 @@
430430
if( strncmp(g.argv[2],"find",n)==0 ){
431431
Stmt q;
432432
const char *zType = find_option("type","t",1);
433433
if( zType==0 || zType[0]==0 ) zType = "*";
434434
if( g.argc!=4 ){
435
- usage("find ?--raw? TAGNAME");
435
+ usage("find ?--raw? ?-t|--type TYPE? TAGNAME");
436436
}
437437
if( fRaw ){
438438
db_prepare(&q,
439439
"SELECT blob.uuid FROM tagxref, blob"
440440
" WHERE tagid=(SELECT tagid FROM tag WHERE tagname=%Q)"
441441
--- src/tag.c
+++ src/tag.c
@@ -348,11 +348,11 @@
348 ** %fossil tag cancel ?--raw? TAGNAME CHECK-IN
349 **
350 ** Remove the tag TAGNAME from CHECK-IN, and also remove
351 ** the propagation of the tag to any descendants.
352 **
353 ** %fossil tag find ?--raw? ?--type TYPE? TAGNAME
354 **
355 ** List all objects that use TAGNAME. TYPE can be "ci" for
356 ** checkins or "e" for events.
357 **
358 ** %fossil tag list ?--raw? ?CHECK-IN?
@@ -430,11 +430,11 @@
430 if( strncmp(g.argv[2],"find",n)==0 ){
431 Stmt q;
432 const char *zType = find_option("type","t",1);
433 if( zType==0 || zType[0]==0 ) zType = "*";
434 if( g.argc!=4 ){
435 usage("find ?--raw? TAGNAME");
436 }
437 if( fRaw ){
438 db_prepare(&q,
439 "SELECT blob.uuid FROM tagxref, blob"
440 " WHERE tagid=(SELECT tagid FROM tag WHERE tagname=%Q)"
441
--- src/tag.c
+++ src/tag.c
@@ -348,11 +348,11 @@
348 ** %fossil tag cancel ?--raw? TAGNAME CHECK-IN
349 **
350 ** Remove the tag TAGNAME from CHECK-IN, and also remove
351 ** the propagation of the tag to any descendants.
352 **
353 ** %fossil tag find ?--raw? ?-t|--type TYPE? TAGNAME
354 **
355 ** List all objects that use TAGNAME. TYPE can be "ci" for
356 ** checkins or "e" for events.
357 **
358 ** %fossil tag list ?--raw? ?CHECK-IN?
@@ -430,11 +430,11 @@
430 if( strncmp(g.argv[2],"find",n)==0 ){
431 Stmt q;
432 const char *zType = find_option("type","t",1);
433 if( zType==0 || zType[0]==0 ) zType = "*";
434 if( g.argc!=4 ){
435 usage("find ?--raw? ?-t|--type TYPE? TAGNAME");
436 }
437 if( fRaw ){
438 db_prepare(&q,
439 "SELECT blob.uuid FROM tagxref, blob"
440 " WHERE tagid=(SELECT tagid FROM tag WHERE tagname=%Q)"
441
+2 -2
--- src/timeline.c
+++ src/timeline.c
@@ -1555,11 +1555,11 @@
15551555
}
15561556
15571557
/*
15581558
** COMMAND: timeline
15591559
**
1560
-** Usage: %fossil timeline ?WHEN? ?BASELINE|DATETIME? ?-n N? ?-t TYPE? ?-showfiles?
1560
+** Usage: %fossil timeline ?WHEN? ?BASELINE|DATETIME? ?-n|--count N? ?-t|--type TYPE? ?-showfiles?
15611561
**
15621562
** Print a summary of activity going backwards in date and time
15631563
** specified or from the current date and time if no arguments
15641564
** are given. Show as many as N (default 20) check-ins. The
15651565
** WHEN argument can be any unique abbreviation of one of these
@@ -1620,11 +1620,11 @@
16201620
}else if( strncmp(g.argv[2],"ancestors",k)==0 && k>1 ){
16211621
mode = 4;
16221622
}else if( strncmp(g.argv[2],"parents",k)==0 ){
16231623
mode = 4;
16241624
}else if(!zType && !zCount){
1625
- usage("?WHEN? ?BASELINE|DATETIME? ?-n|--count N? ?-t TYPE?");
1625
+ usage("?WHEN? ?BASELINE|DATETIME? ?-n|--count N? ?-t|--type TYPE?");
16261626
}
16271627
if( '-' != *g.argv[3] ){
16281628
zOrigin = g.argv[3];
16291629
}else{
16301630
zOrigin = "now";
16311631
--- src/timeline.c
+++ src/timeline.c
@@ -1555,11 +1555,11 @@
1555 }
1556
1557 /*
1558 ** COMMAND: timeline
1559 **
1560 ** Usage: %fossil timeline ?WHEN? ?BASELINE|DATETIME? ?-n N? ?-t TYPE? ?-showfiles?
1561 **
1562 ** Print a summary of activity going backwards in date and time
1563 ** specified or from the current date and time if no arguments
1564 ** are given. Show as many as N (default 20) check-ins. The
1565 ** WHEN argument can be any unique abbreviation of one of these
@@ -1620,11 +1620,11 @@
1620 }else if( strncmp(g.argv[2],"ancestors",k)==0 && k>1 ){
1621 mode = 4;
1622 }else if( strncmp(g.argv[2],"parents",k)==0 ){
1623 mode = 4;
1624 }else if(!zType && !zCount){
1625 usage("?WHEN? ?BASELINE|DATETIME? ?-n|--count N? ?-t TYPE?");
1626 }
1627 if( '-' != *g.argv[3] ){
1628 zOrigin = g.argv[3];
1629 }else{
1630 zOrigin = "now";
1631
--- src/timeline.c
+++ src/timeline.c
@@ -1555,11 +1555,11 @@
1555 }
1556
1557 /*
1558 ** COMMAND: timeline
1559 **
1560 ** Usage: %fossil timeline ?WHEN? ?BASELINE|DATETIME? ?-n|--count N? ?-t|--type TYPE? ?-showfiles?
1561 **
1562 ** Print a summary of activity going backwards in date and time
1563 ** specified or from the current date and time if no arguments
1564 ** are given. Show as many as N (default 20) check-ins. The
1565 ** WHEN argument can be any unique abbreviation of one of these
@@ -1620,11 +1620,11 @@
1620 }else if( strncmp(g.argv[2],"ancestors",k)==0 && k>1 ){
1621 mode = 4;
1622 }else if( strncmp(g.argv[2],"parents",k)==0 ){
1623 mode = 4;
1624 }else if(!zType && !zCount){
1625 usage("?WHEN? ?BASELINE|DATETIME? ?-n|--count N? ?-t|--type TYPE?");
1626 }
1627 if( '-' != *g.argv[3] ){
1628 zOrigin = g.argv[3];
1629 }else{
1630 zOrigin = "now";
1631

Keyboard Shortcuts

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