Fossil SCM

More non-functional changes of 'checkin' to 'check-in' and 'checkins' to 'check-ins' in the source code.

mistachkin 2015-03-01 20:42 trunk
Commit 6ec2c2e3d966ceee7a8034b71bad19bddd0f2dc9
+1 -1
--- src/finfo.c
+++ src/finfo.c
@@ -503,11 +503,11 @@
503503
const char *z = zFilename;
504504
@ %z(href("%R/annotate?filename=%h&checkin=%s",z,zCkin))
505505
@ [annotate]</a>
506506
@ %z(href("%R/blame?filename=%h&checkin=%s",z,zCkin))
507507
@ [blame]</a>
508
- @ %z(href("%R/timeline?n=200&uf=%!S",zUuid))[checkins&nbsp;using]</a>
508
+ @ %z(href("%R/timeline?n=200&uf=%!S",zUuid))[check-ins&nbsp;using]</a>
509509
if( fpid ){
510510
@ %z(href("%R/fdiff?sbs=1&v1=%!S&v2=%!S",zPUuid,zUuid))[diff]</a>
511511
}
512512
}
513513
if( fDebug & FINFO_DEBUG_MLINK ){
514514
--- src/finfo.c
+++ src/finfo.c
@@ -503,11 +503,11 @@
503 const char *z = zFilename;
504 @ %z(href("%R/annotate?filename=%h&checkin=%s",z,zCkin))
505 @ [annotate]</a>
506 @ %z(href("%R/blame?filename=%h&checkin=%s",z,zCkin))
507 @ [blame]</a>
508 @ %z(href("%R/timeline?n=200&uf=%!S",zUuid))[checkins&nbsp;using]</a>
509 if( fpid ){
510 @ %z(href("%R/fdiff?sbs=1&v1=%!S&v2=%!S",zPUuid,zUuid))[diff]</a>
511 }
512 }
513 if( fDebug & FINFO_DEBUG_MLINK ){
514
--- src/finfo.c
+++ src/finfo.c
@@ -503,11 +503,11 @@
503 const char *z = zFilename;
504 @ %z(href("%R/annotate?filename=%h&checkin=%s",z,zCkin))
505 @ [annotate]</a>
506 @ %z(href("%R/blame?filename=%h&checkin=%s",z,zCkin))
507 @ [blame]</a>
508 @ %z(href("%R/timeline?n=200&uf=%!S",zUuid))[check-ins&nbsp;using]</a>
509 if( fpid ){
510 @ %z(href("%R/fdiff?sbs=1&v1=%!S&v2=%!S",zPUuid,zUuid))[diff]</a>
511 }
512 }
513 if( fDebug & FINFO_DEBUG_MLINK ){
514
+3 -3
--- src/info.c
+++ src/info.c
@@ -976,11 +976,11 @@
976976
** v=BOOLEAN Default true. If false, only list files that have changed
977977
** sbs=BOOLEAN Side-by-side diff if true. Unified diff if false
978978
** glob=STRING only diff files matching this glob
979979
**
980980
**
981
-** Show all differences between two checkins.
981
+** Show all differences between two check-ins.
982982
*/
983983
void vdiff_page(void){
984984
int ridFrom, ridTo;
985985
int verboseFlag = 0;
986986
int sideBySide = 0;
@@ -1238,14 +1238,14 @@
12381238
prevName = fossil_strdup(zName);
12391239
}
12401240
if( showDetail ){
12411241
@ <li>
12421242
hyperlink_to_date(zDate,"");
1243
- @ &mdash; part of checkin
1243
+ @ &mdash; part of check-in
12441244
hyperlink_to_uuid(zVers);
12451245
}else{
1246
- @ &mdash; part of checkin
1246
+ @ &mdash; part of check-in
12471247
hyperlink_to_uuid(zVers);
12481248
@ at
12491249
hyperlink_to_date(zDate,"");
12501250
}
12511251
if( zBr && zBr[0] ){
12521252
--- src/info.c
+++ src/info.c
@@ -976,11 +976,11 @@
976 ** v=BOOLEAN Default true. If false, only list files that have changed
977 ** sbs=BOOLEAN Side-by-side diff if true. Unified diff if false
978 ** glob=STRING only diff files matching this glob
979 **
980 **
981 ** Show all differences between two checkins.
982 */
983 void vdiff_page(void){
984 int ridFrom, ridTo;
985 int verboseFlag = 0;
986 int sideBySide = 0;
@@ -1238,14 +1238,14 @@
1238 prevName = fossil_strdup(zName);
1239 }
1240 if( showDetail ){
1241 @ <li>
1242 hyperlink_to_date(zDate,"");
1243 @ &mdash; part of checkin
1244 hyperlink_to_uuid(zVers);
1245 }else{
1246 @ &mdash; part of checkin
1247 hyperlink_to_uuid(zVers);
1248 @ at
1249 hyperlink_to_date(zDate,"");
1250 }
1251 if( zBr && zBr[0] ){
1252
--- src/info.c
+++ src/info.c
@@ -976,11 +976,11 @@
976 ** v=BOOLEAN Default true. If false, only list files that have changed
977 ** sbs=BOOLEAN Side-by-side diff if true. Unified diff if false
978 ** glob=STRING only diff files matching this glob
979 **
980 **
981 ** Show all differences between two check-ins.
982 */
983 void vdiff_page(void){
984 int ridFrom, ridTo;
985 int verboseFlag = 0;
986 int sideBySide = 0;
@@ -1238,14 +1238,14 @@
1238 prevName = fossil_strdup(zName);
1239 }
1240 if( showDetail ){
1241 @ <li>
1242 hyperlink_to_date(zDate,"");
1243 @ &mdash; part of check-in
1244 hyperlink_to_uuid(zVers);
1245 }else{
1246 @ &mdash; part of check-in
1247 hyperlink_to_uuid(zVers);
1248 @ at
1249 hyperlink_to_date(zDate,"");
1250 }
1251 if( zBr && zBr[0] ){
1252
--- src/json_artifact.c
+++ src/json_artifact.c
@@ -207,15 +207,15 @@
207207
manifest_destroy(pTktChng);
208208
return cson_object_value(pay);
209209
}
210210
211211
/*
212
-** Sub-impl of /json/artifact for checkins.
212
+** Sub-impl of /json/artifact for check-ins.
213213
*/
214214
static cson_value * json_artifact_ci( cson_object * zParent, int rid ){
215215
if(!g.perm.Read){
216
- json_set_err( FSL_JSON_E_DENIED, "Viewing checkins requires 'o' privileges." );
216
+ json_set_err( FSL_JSON_E_DENIED, "Viewing check-ins requires 'o' privileges." );
217217
return NULL;
218218
}else{
219219
cson_value * artV = json_artifact_for_ci(rid, 1);
220220
cson_object * art = cson_value_get_object(artV);
221221
if(art){
@@ -346,20 +346,20 @@
346346
if(parentUuid){
347347
cson_object_set( zParent, "parent", json_new_string(parentUuid) );
348348
fossil_free(parentUuid);
349349
}
350350
351
- /* Find checkins associated with this file... */
351
+ /* Find check-ins associated with this file... */
352352
db_prepare(&q,
353353
"SELECT filename.name AS name, "
354354
" (mlink.pid==0) AS isNew,"
355355
" (mlink.fid==0) AS isDel,"
356356
" cast(strftime('%%s',event.mtime) as int) AS timestamp,"
357357
" coalesce(event.ecomment,event.comment) as comment,"
358358
" coalesce(event.euser,event.user) as user,"
359359
#if 0
360
- " a.size AS size," /* same for all checkins. */
360
+ " a.size AS size," /* same for all check-ins. */
361361
#endif
362362
" b.uuid as checkin, "
363363
#if 0
364364
" mlink.mperm as mperm,"
365365
#endif
@@ -373,11 +373,11 @@
373373
" AND b.rid=mlink.mid"
374374
" AND mlink.fid=%d"
375375
" ORDER BY filename.name, event.mtime",
376376
TAG_BRANCH, rid
377377
);
378
- /* TODO: add a "state" flag for the file in each checkin,
378
+ /* TODO: add a "state" flag for the file in each check-in,
379379
e.g. "modified", "new", "deleted".
380380
*/
381381
checkin_arr = cson_new_array();
382382
cson_object_set(pay, "checkins", cson_array_value(checkin_arr));
383383
while( (SQLITE_ROW==db_step(&q) ) ){
384384
--- src/json_artifact.c
+++ src/json_artifact.c
@@ -207,15 +207,15 @@
207 manifest_destroy(pTktChng);
208 return cson_object_value(pay);
209 }
210
211 /*
212 ** Sub-impl of /json/artifact for checkins.
213 */
214 static cson_value * json_artifact_ci( cson_object * zParent, int rid ){
215 if(!g.perm.Read){
216 json_set_err( FSL_JSON_E_DENIED, "Viewing checkins requires 'o' privileges." );
217 return NULL;
218 }else{
219 cson_value * artV = json_artifact_for_ci(rid, 1);
220 cson_object * art = cson_value_get_object(artV);
221 if(art){
@@ -346,20 +346,20 @@
346 if(parentUuid){
347 cson_object_set( zParent, "parent", json_new_string(parentUuid) );
348 fossil_free(parentUuid);
349 }
350
351 /* Find checkins associated with this file... */
352 db_prepare(&q,
353 "SELECT filename.name AS name, "
354 " (mlink.pid==0) AS isNew,"
355 " (mlink.fid==0) AS isDel,"
356 " cast(strftime('%%s',event.mtime) as int) AS timestamp,"
357 " coalesce(event.ecomment,event.comment) as comment,"
358 " coalesce(event.euser,event.user) as user,"
359 #if 0
360 " a.size AS size," /* same for all checkins. */
361 #endif
362 " b.uuid as checkin, "
363 #if 0
364 " mlink.mperm as mperm,"
365 #endif
@@ -373,11 +373,11 @@
373 " AND b.rid=mlink.mid"
374 " AND mlink.fid=%d"
375 " ORDER BY filename.name, event.mtime",
376 TAG_BRANCH, rid
377 );
378 /* TODO: add a "state" flag for the file in each checkin,
379 e.g. "modified", "new", "deleted".
380 */
381 checkin_arr = cson_new_array();
382 cson_object_set(pay, "checkins", cson_array_value(checkin_arr));
383 while( (SQLITE_ROW==db_step(&q) ) ){
384
--- src/json_artifact.c
+++ src/json_artifact.c
@@ -207,15 +207,15 @@
207 manifest_destroy(pTktChng);
208 return cson_object_value(pay);
209 }
210
211 /*
212 ** Sub-impl of /json/artifact for check-ins.
213 */
214 static cson_value * json_artifact_ci( cson_object * zParent, int rid ){
215 if(!g.perm.Read){
216 json_set_err( FSL_JSON_E_DENIED, "Viewing check-ins requires 'o' privileges." );
217 return NULL;
218 }else{
219 cson_value * artV = json_artifact_for_ci(rid, 1);
220 cson_object * art = cson_value_get_object(artV);
221 if(art){
@@ -346,20 +346,20 @@
346 if(parentUuid){
347 cson_object_set( zParent, "parent", json_new_string(parentUuid) );
348 fossil_free(parentUuid);
349 }
350
351 /* Find check-ins associated with this file... */
352 db_prepare(&q,
353 "SELECT filename.name AS name, "
354 " (mlink.pid==0) AS isNew,"
355 " (mlink.fid==0) AS isDel,"
356 " cast(strftime('%%s',event.mtime) as int) AS timestamp,"
357 " coalesce(event.ecomment,event.comment) as comment,"
358 " coalesce(event.euser,event.user) as user,"
359 #if 0
360 " a.size AS size," /* same for all check-ins. */
361 #endif
362 " b.uuid as checkin, "
363 #if 0
364 " mlink.mperm as mperm,"
365 #endif
@@ -373,11 +373,11 @@
373 " AND b.rid=mlink.mid"
374 " AND mlink.fid=%d"
375 " ORDER BY filename.name, event.mtime",
376 TAG_BRANCH, rid
377 );
378 /* TODO: add a "state" flag for the file in each check-in,
379 e.g. "modified", "new", "deleted".
380 */
381 checkin_arr = cson_new_array();
382 cson_object_set(pay, "checkins", cson_array_value(checkin_arr));
383 while( (SQLITE_ROW==db_step(&q) ) ){
384
+2 -2
--- src/json_tag.c
+++ src/json_tag.c
@@ -353,11 +353,11 @@
353353
payV = cson_value_new_object();
354354
pay = cson_value_get_object(payV);
355355
cson_object_set(pay, "raw", cson_value_new_bool(fRaw) );
356356
if( zCheckin ){
357357
/**
358
- Tags for a specific checkin. Output format:
358
+ Tags for a specific check-in. Output format:
359359
360360
RAW mode:
361361
362362
{
363363
"sym-tagname": (value || null),
@@ -374,11 +374,11 @@
374374
cson_value * objV = NULL;
375375
cson_object * obj = NULL;
376376
int const rid = name_to_rid(zCheckin);
377377
if(0==rid){
378378
json_set_err(FSL_JSON_E_UNRESOLVED_UUID,
379
- "Could not find artifact for checkin [%s].",
379
+ "Could not find artifact for check-in [%s].",
380380
zCheckin);
381381
goto error;
382382
}
383383
cson_object_set(pay, "checkin", json_new_string(zCheckin));
384384
db_prepare(&q,
385385
--- src/json_tag.c
+++ src/json_tag.c
@@ -353,11 +353,11 @@
353 payV = cson_value_new_object();
354 pay = cson_value_get_object(payV);
355 cson_object_set(pay, "raw", cson_value_new_bool(fRaw) );
356 if( zCheckin ){
357 /**
358 Tags for a specific checkin. Output format:
359
360 RAW mode:
361
362 {
363 "sym-tagname": (value || null),
@@ -374,11 +374,11 @@
374 cson_value * objV = NULL;
375 cson_object * obj = NULL;
376 int const rid = name_to_rid(zCheckin);
377 if(0==rid){
378 json_set_err(FSL_JSON_E_UNRESOLVED_UUID,
379 "Could not find artifact for checkin [%s].",
380 zCheckin);
381 goto error;
382 }
383 cson_object_set(pay, "checkin", json_new_string(zCheckin));
384 db_prepare(&q,
385
--- src/json_tag.c
+++ src/json_tag.c
@@ -353,11 +353,11 @@
353 payV = cson_value_new_object();
354 pay = cson_value_get_object(payV);
355 cson_object_set(pay, "raw", cson_value_new_bool(fRaw) );
356 if( zCheckin ){
357 /**
358 Tags for a specific check-in. Output format:
359
360 RAW mode:
361
362 {
363 "sym-tagname": (value || null),
@@ -374,11 +374,11 @@
374 cson_value * objV = NULL;
375 cson_object * obj = NULL;
376 int const rid = name_to_rid(zCheckin);
377 if(0==rid){
378 json_set_err(FSL_JSON_E_UNRESOLVED_UUID,
379 "Could not find artifact for check-in [%s].",
380 zCheckin);
381 goto error;
382 }
383 cson_object_set(pay, "checkin", json_new_string(zCheckin));
384 db_prepare(&q,
385
+1 -1
--- src/leaf.c
+++ src/leaf.c
@@ -96,11 +96,11 @@
9696
TAG_BRANCH, TAG_BRANCH
9797
);
9898
}
9999
100100
/*
101
-** A bag of checkins whose leaf status needs to be checked.
101
+** A bag of check-ins whose leaf status needs to be checked.
102102
*/
103103
static Bag needToCheck;
104104
105105
/*
106106
** Check to see if check-in "rid" is a leaf and either add it to the LEAF
107107
--- src/leaf.c
+++ src/leaf.c
@@ -96,11 +96,11 @@
96 TAG_BRANCH, TAG_BRANCH
97 );
98 }
99
100 /*
101 ** A bag of checkins whose leaf status needs to be checked.
102 */
103 static Bag needToCheck;
104
105 /*
106 ** Check to see if check-in "rid" is a leaf and either add it to the LEAF
107
--- src/leaf.c
+++ src/leaf.c
@@ -96,11 +96,11 @@
96 TAG_BRANCH, TAG_BRANCH
97 );
98 }
99
100 /*
101 ** A bag of check-ins whose leaf status needs to be checked.
102 */
103 static Bag needToCheck;
104
105 /*
106 ** Check to see if check-in "rid" is a leaf and either add it to the LEAF
107
+3 -3
--- src/manifest.c
+++ src/manifest.c
@@ -699,11 +699,11 @@
699699
}
700700
701701
/*
702702
** Q (+|-)<uuid> ?<uuid>?
703703
**
704
- ** Specify one or a range of checkins that are cherrypicked into
704
+ ** Specify one or a range of check-ins that are cherrypicked into
705705
** this check-in ("+") or backed out of this check-in ("-").
706706
*/
707707
case 'Q': {
708708
if( (zUuid=next_token(&x, &sz))==0 ) SYNTAX("missing UUID on Q-card");
709709
if( sz!=UUID_SIZE+1 ) SYNTAX("wrong size UUID on Q-card");
@@ -1370,11 +1370,11 @@
13701370
rc = db_step(&eq);
13711371
db_reset(&eq);
13721372
if( rc==SQLITE_ROW ) return;
13731373
13741374
/* Compute the value of the missing pParent or pChild parameter.
1375
- ** Fetch the baseline checkins for both.
1375
+ ** Fetch the baseline check-ins for both.
13761376
*/
13771377
assert( pParent==0 || pChild==0 );
13781378
if( pParent==0 ){
13791379
ppOther = &pParent;
13801380
otherRid = pmid;
@@ -1510,11 +1510,11 @@
15101510
");"
15111511
);
15121512
}
15131513
15141514
#if INTERFACE
1515
-/* Timestamps might be adjusted slightly to ensure that checkins appear
1515
+/* Timestamps might be adjusted slightly to ensure that check-ins appear
15161516
** on the timeline in chronological order. This is the maximum amount
15171517
** of the adjustment window, in days.
15181518
*/
15191519
#define AGE_FUDGE_WINDOW (2.0/86400.0) /* 2 seconds */
15201520
15211521
--- src/manifest.c
+++ src/manifest.c
@@ -699,11 +699,11 @@
699 }
700
701 /*
702 ** Q (+|-)<uuid> ?<uuid>?
703 **
704 ** Specify one or a range of checkins that are cherrypicked into
705 ** this check-in ("+") or backed out of this check-in ("-").
706 */
707 case 'Q': {
708 if( (zUuid=next_token(&x, &sz))==0 ) SYNTAX("missing UUID on Q-card");
709 if( sz!=UUID_SIZE+1 ) SYNTAX("wrong size UUID on Q-card");
@@ -1370,11 +1370,11 @@
1370 rc = db_step(&eq);
1371 db_reset(&eq);
1372 if( rc==SQLITE_ROW ) return;
1373
1374 /* Compute the value of the missing pParent or pChild parameter.
1375 ** Fetch the baseline checkins for both.
1376 */
1377 assert( pParent==0 || pChild==0 );
1378 if( pParent==0 ){
1379 ppOther = &pParent;
1380 otherRid = pmid;
@@ -1510,11 +1510,11 @@
1510 ");"
1511 );
1512 }
1513
1514 #if INTERFACE
1515 /* Timestamps might be adjusted slightly to ensure that checkins appear
1516 ** on the timeline in chronological order. This is the maximum amount
1517 ** of the adjustment window, in days.
1518 */
1519 #define AGE_FUDGE_WINDOW (2.0/86400.0) /* 2 seconds */
1520
1521
--- src/manifest.c
+++ src/manifest.c
@@ -699,11 +699,11 @@
699 }
700
701 /*
702 ** Q (+|-)<uuid> ?<uuid>?
703 **
704 ** Specify one or a range of check-ins that are cherrypicked into
705 ** this check-in ("+") or backed out of this check-in ("-").
706 */
707 case 'Q': {
708 if( (zUuid=next_token(&x, &sz))==0 ) SYNTAX("missing UUID on Q-card");
709 if( sz!=UUID_SIZE+1 ) SYNTAX("wrong size UUID on Q-card");
@@ -1370,11 +1370,11 @@
1370 rc = db_step(&eq);
1371 db_reset(&eq);
1372 if( rc==SQLITE_ROW ) return;
1373
1374 /* Compute the value of the missing pParent or pChild parameter.
1375 ** Fetch the baseline check-ins for both.
1376 */
1377 assert( pParent==0 || pChild==0 );
1378 if( pParent==0 ){
1379 ppOther = &pParent;
1380 otherRid = pmid;
@@ -1510,11 +1510,11 @@
1510 ");"
1511 );
1512 }
1513
1514 #if INTERFACE
1515 /* Timestamps might be adjusted slightly to ensure that check-ins appear
1516 ** on the timeline in chronological order. This is the maximum amount
1517 ** of the adjustment window, in days.
1518 */
1519 #define AGE_FUDGE_WINDOW (2.0/86400.0) /* 2 seconds */
1520
1521
+1 -1
--- src/name.c
+++ src/name.c
@@ -802,11 +802,11 @@
802802
** whose RID matches the SQL expression in zWhere.
803803
*/
804804
void describe_artifacts(const char *zWhere){
805805
db_multi_exec("%s", zDescTab/*safe-for-%s*/);
806806
807
- /* Describe checkins */
807
+ /* Describe check-ins */
808808
db_multi_exec(
809809
"INSERT OR IGNORE INTO description(rid,uuid,ctime,type,summary)\n"
810810
"SELECT blob.rid, blob.uuid, event.mtime, 'checkin',\n"
811811
" 'check-in on ' || strftime('%%Y-%%m-%%d %%H:%%M',event.mtime)\n"
812812
" FROM event, blob\n"
813813
--- src/name.c
+++ src/name.c
@@ -802,11 +802,11 @@
802 ** whose RID matches the SQL expression in zWhere.
803 */
804 void describe_artifacts(const char *zWhere){
805 db_multi_exec("%s", zDescTab/*safe-for-%s*/);
806
807 /* Describe checkins */
808 db_multi_exec(
809 "INSERT OR IGNORE INTO description(rid,uuid,ctime,type,summary)\n"
810 "SELECT blob.rid, blob.uuid, event.mtime, 'checkin',\n"
811 " 'check-in on ' || strftime('%%Y-%%m-%%d %%H:%%M',event.mtime)\n"
812 " FROM event, blob\n"
813
--- src/name.c
+++ src/name.c
@@ -802,11 +802,11 @@
802 ** whose RID matches the SQL expression in zWhere.
803 */
804 void describe_artifacts(const char *zWhere){
805 db_multi_exec("%s", zDescTab/*safe-for-%s*/);
806
807 /* Describe check-ins */
808 db_multi_exec(
809 "INSERT OR IGNORE INTO description(rid,uuid,ctime,type,summary)\n"
810 "SELECT blob.rid, blob.uuid, event.mtime, 'checkin',\n"
811 " 'check-in on ' || strftime('%%Y-%%m-%%d %%H:%%M',event.mtime)\n"
812 " FROM event, blob\n"
813
+2 -2
--- src/path.c
+++ src/path.c
@@ -13,11 +13,11 @@
1313
** [email protected]
1414
**
1515
*******************************************************************************
1616
**
1717
** This file contains code used to trace paths of through the
18
-** directed acyclic graph (DAG) of checkins.
18
+** directed acyclic graph (DAG) of check-ins.
1919
*/
2020
#include "config.h"
2121
#include "path.h"
2222
#include <assert.h>
2323
@@ -199,11 +199,11 @@
199199
/*
200200
** COMMAND: test-shortest-path
201201
**
202202
** Usage: %fossil test-shortest-path ?--no-merge? VERSION1 VERSION2
203203
**
204
-** Report the shortest path between two checkins. If the --no-merge flag
204
+** Report the shortest path between two check-ins. If the --no-merge flag
205205
** is used, follow only direct parent-child paths and omit merge links.
206206
*/
207207
void shortest_path_test_cmd(void){
208208
int iFrom;
209209
int iTo;
210210
--- src/path.c
+++ src/path.c
@@ -13,11 +13,11 @@
13 ** [email protected]
14 **
15 *******************************************************************************
16 **
17 ** This file contains code used to trace paths of through the
18 ** directed acyclic graph (DAG) of checkins.
19 */
20 #include "config.h"
21 #include "path.h"
22 #include <assert.h>
23
@@ -199,11 +199,11 @@
199 /*
200 ** COMMAND: test-shortest-path
201 **
202 ** Usage: %fossil test-shortest-path ?--no-merge? VERSION1 VERSION2
203 **
204 ** Report the shortest path between two checkins. If the --no-merge flag
205 ** is used, follow only direct parent-child paths and omit merge links.
206 */
207 void shortest_path_test_cmd(void){
208 int iFrom;
209 int iTo;
210
--- src/path.c
+++ src/path.c
@@ -13,11 +13,11 @@
13 ** [email protected]
14 **
15 *******************************************************************************
16 **
17 ** This file contains code used to trace paths of through the
18 ** directed acyclic graph (DAG) of check-ins.
19 */
20 #include "config.h"
21 #include "path.h"
22 #include <assert.h>
23
@@ -199,11 +199,11 @@
199 /*
200 ** COMMAND: test-shortest-path
201 **
202 ** Usage: %fossil test-shortest-path ?--no-merge? VERSION1 VERSION2
203 **
204 ** Report the shortest path between two check-ins. If the --no-merge flag
205 ** is used, follow only direct parent-child paths and omit merge links.
206 */
207 void shortest_path_test_cmd(void){
208 int iFrom;
209 int iTo;
210
+5 -5
--- src/publish.c
+++ src/publish.c
@@ -28,15 +28,15 @@
2828
** Usage: %fossil unpublished ?OPTIONS?
2929
**
3030
** Show a list of unpublished or "private" artifacts. Unpublished artifacts
3131
** will never push and hence will not be shared with collaborators.
3232
**
33
-** By default, this command only shows unpublished checkins. To show
33
+** By default, this command only shows unpublished check-ins. To show
3434
** all unpublished artifacts, use the --all command-line option.
3535
**
3636
** OPTIONS:
37
-** --all Show all artifacts, not just checkins
37
+** --all Show all artifacts, not just check-ins
3838
*/
3939
void unpublished_cmd(void){
4040
int bAll = find_option("all",0,0)!=0;
4141
4242
db_find_and_open_repository(0,0);
@@ -58,15 +58,15 @@
5858
**
5959
** Cause artifacts identified by TAGS... to be published (made non-private).
6060
** This can be used (for example) to convert a private branch into a public
6161
** branch, or to publish a bundle that was imported privately.
6262
**
63
-** If any of TAGS names a branch, then all checkins on the most recent
63
+** If any of TAGS names a branch, then all check-ins on the most recent
6464
** instance of that branch are included, not just the most recent check-in.
6565
**
66
-** If any of TAGS name checkins then all files and tags associated with
67
-** those checkins are also published automatically. Except if the --only
66
+** If any of TAGS name check-ins then all files and tags associated with
67
+** those check-ins are also published automatically. Except if the --only
6868
** option is used, then only the specific artifacts identified by TAGS
6969
** are published.
7070
**
7171
** If a TAG is already public, this command is a harmless no-op.
7272
*/
7373
--- src/publish.c
+++ src/publish.c
@@ -28,15 +28,15 @@
28 ** Usage: %fossil unpublished ?OPTIONS?
29 **
30 ** Show a list of unpublished or "private" artifacts. Unpublished artifacts
31 ** will never push and hence will not be shared with collaborators.
32 **
33 ** By default, this command only shows unpublished checkins. To show
34 ** all unpublished artifacts, use the --all command-line option.
35 **
36 ** OPTIONS:
37 ** --all Show all artifacts, not just checkins
38 */
39 void unpublished_cmd(void){
40 int bAll = find_option("all",0,0)!=0;
41
42 db_find_and_open_repository(0,0);
@@ -58,15 +58,15 @@
58 **
59 ** Cause artifacts identified by TAGS... to be published (made non-private).
60 ** This can be used (for example) to convert a private branch into a public
61 ** branch, or to publish a bundle that was imported privately.
62 **
63 ** If any of TAGS names a branch, then all checkins on the most recent
64 ** instance of that branch are included, not just the most recent check-in.
65 **
66 ** If any of TAGS name checkins then all files and tags associated with
67 ** those checkins are also published automatically. Except if the --only
68 ** option is used, then only the specific artifacts identified by TAGS
69 ** are published.
70 **
71 ** If a TAG is already public, this command is a harmless no-op.
72 */
73
--- src/publish.c
+++ src/publish.c
@@ -28,15 +28,15 @@
28 ** Usage: %fossil unpublished ?OPTIONS?
29 **
30 ** Show a list of unpublished or "private" artifacts. Unpublished artifacts
31 ** will never push and hence will not be shared with collaborators.
32 **
33 ** By default, this command only shows unpublished check-ins. To show
34 ** all unpublished artifacts, use the --all command-line option.
35 **
36 ** OPTIONS:
37 ** --all Show all artifacts, not just check-ins
38 */
39 void unpublished_cmd(void){
40 int bAll = find_option("all",0,0)!=0;
41
42 db_find_and_open_repository(0,0);
@@ -58,15 +58,15 @@
58 **
59 ** Cause artifacts identified by TAGS... to be published (made non-private).
60 ** This can be used (for example) to convert a private branch into a public
61 ** branch, or to publish a bundle that was imported privately.
62 **
63 ** If any of TAGS names a branch, then all check-ins on the most recent
64 ** instance of that branch are included, not just the most recent check-in.
65 **
66 ** If any of TAGS name check-ins then all files and tags associated with
67 ** those check-ins are also published automatically. Except if the --only
68 ** option is used, then only the specific artifacts identified by TAGS
69 ** are published.
70 **
71 ** If a TAG is already public, this command is a harmless no-op.
72 */
73
+10 -10
--- src/purge.c
+++ src/purge.c
@@ -14,11 +14,11 @@
1414
** http://www.hwaci.com/drh/
1515
**
1616
*******************************************************************************
1717
**
1818
** This file contains code used to implement the "purge" command and
19
-** related functionality for removing checkins from a repository. It also
19
+** related functionality for removing check-ins from a repository. It also
2020
** manages the graveyard of purged content.
2121
*/
2222
#include "config.h"
2323
#include "purge.h"
2424
#include <assert.h>
@@ -193,19 +193,19 @@
193193
db_end_transaction(0);
194194
return peid;
195195
}
196196
197197
/*
198
-** The TEMP table named zTab contains RIDs for a set of checkins.
198
+** The TEMP table named zTab contains RIDs for a set of check-ins.
199199
**
200200
** Check to see if any check-in in zTab is a baseline manifest for some
201201
** delta manifest that is not in zTab. Return true if zTab contains a
202202
** baseline for a delta that is not in zTab.
203203
**
204
-** This is a database integrity preservation check. The checkins in zTab
204
+** This is a database integrity preservation check. The check-ins in zTab
205205
** are about to be deleted or otherwise made inaccessible. This routine
206
-** is checking to ensure that purging the checkins in zTab will not delete
206
+** is checking to ensure that purging the check-ins in zTab will not delete
207207
** a baseline manifest out from under a delta.
208208
*/
209209
int purge_baseline_out_from_under_delta(const char *zTab){
210210
if( !db_table_has_column("repository","plink","baseid") ){
211211
/* Skip this check if the current database is an older schema that
@@ -220,17 +220,17 @@
220220
221221
222222
/*
223223
** The TEMP table named zTab contains the RIDs for a set of check-in
224224
** artifacts. Expand this set (by adding new entries to zTab) to include
225
-** all other artifacts that are used the set of checkins in
225
+** all other artifacts that are used the set of check-ins in
226226
** the original list.
227227
**
228228
** If the bExclusive flag is true, then the set is only expanded by
229
-** artifacts that are used exclusively by the checkins in the set.
230
-** When bExclusive is false, then all artifacts used by the checkins
231
-** are added even if those artifacts are also used by other checkins
229
+** artifacts that are used exclusively by the check-ins in the set.
230
+** When bExclusive is false, then all artifacts used by the check-ins
231
+** are added even if those artifacts are also used by other check-ins
232232
** not in the set.
233233
**
234234
** The "fossil publish" command with the (undocumented) --test and
235235
** --exclusive options can be used for interactiving testing of this
236236
** function.
@@ -435,16 +435,16 @@
435435
** Write the content of one or more artifacts in the graveyard onto
436436
** standard output.
437437
**
438438
** fossil purge ?checkins? TAGS... ?OPTIONS?
439439
**
440
-** Move the checkins identified by TAGS and all of their descendants
440
+** Move the check-ins identified by TAGS and all of their descendants
441441
** out of the repository and into the graveyard. The "checkins"
442442
** subcommand keyword is option and can be omitted as long as TAGS
443443
** does not conflict with any other subcommand.
444444
**
445
-** If a TAGS includes a branch name then it means all the checkins
445
+** If a TAGS includes a branch name then it means all the check-ins
446446
** on the most recent occurrance of that branch.
447447
**
448448
** --explain Make no changes, but show what would happen.
449449
** --dry-run Make no chances.
450450
**
451451
--- src/purge.c
+++ src/purge.c
@@ -14,11 +14,11 @@
14 ** http://www.hwaci.com/drh/
15 **
16 *******************************************************************************
17 **
18 ** This file contains code used to implement the "purge" command and
19 ** related functionality for removing checkins from a repository. It also
20 ** manages the graveyard of purged content.
21 */
22 #include "config.h"
23 #include "purge.h"
24 #include <assert.h>
@@ -193,19 +193,19 @@
193 db_end_transaction(0);
194 return peid;
195 }
196
197 /*
198 ** The TEMP table named zTab contains RIDs for a set of checkins.
199 **
200 ** Check to see if any check-in in zTab is a baseline manifest for some
201 ** delta manifest that is not in zTab. Return true if zTab contains a
202 ** baseline for a delta that is not in zTab.
203 **
204 ** This is a database integrity preservation check. The checkins in zTab
205 ** are about to be deleted or otherwise made inaccessible. This routine
206 ** is checking to ensure that purging the checkins in zTab will not delete
207 ** a baseline manifest out from under a delta.
208 */
209 int purge_baseline_out_from_under_delta(const char *zTab){
210 if( !db_table_has_column("repository","plink","baseid") ){
211 /* Skip this check if the current database is an older schema that
@@ -220,17 +220,17 @@
220
221
222 /*
223 ** The TEMP table named zTab contains the RIDs for a set of check-in
224 ** artifacts. Expand this set (by adding new entries to zTab) to include
225 ** all other artifacts that are used the set of checkins in
226 ** the original list.
227 **
228 ** If the bExclusive flag is true, then the set is only expanded by
229 ** artifacts that are used exclusively by the checkins in the set.
230 ** When bExclusive is false, then all artifacts used by the checkins
231 ** are added even if those artifacts are also used by other checkins
232 ** not in the set.
233 **
234 ** The "fossil publish" command with the (undocumented) --test and
235 ** --exclusive options can be used for interactiving testing of this
236 ** function.
@@ -435,16 +435,16 @@
435 ** Write the content of one or more artifacts in the graveyard onto
436 ** standard output.
437 **
438 ** fossil purge ?checkins? TAGS... ?OPTIONS?
439 **
440 ** Move the checkins identified by TAGS and all of their descendants
441 ** out of the repository and into the graveyard. The "checkins"
442 ** subcommand keyword is option and can be omitted as long as TAGS
443 ** does not conflict with any other subcommand.
444 **
445 ** If a TAGS includes a branch name then it means all the checkins
446 ** on the most recent occurrance of that branch.
447 **
448 ** --explain Make no changes, but show what would happen.
449 ** --dry-run Make no chances.
450 **
451
--- src/purge.c
+++ src/purge.c
@@ -14,11 +14,11 @@
14 ** http://www.hwaci.com/drh/
15 **
16 *******************************************************************************
17 **
18 ** This file contains code used to implement the "purge" command and
19 ** related functionality for removing check-ins from a repository. It also
20 ** manages the graveyard of purged content.
21 */
22 #include "config.h"
23 #include "purge.h"
24 #include <assert.h>
@@ -193,19 +193,19 @@
193 db_end_transaction(0);
194 return peid;
195 }
196
197 /*
198 ** The TEMP table named zTab contains RIDs for a set of check-ins.
199 **
200 ** Check to see if any check-in in zTab is a baseline manifest for some
201 ** delta manifest that is not in zTab. Return true if zTab contains a
202 ** baseline for a delta that is not in zTab.
203 **
204 ** This is a database integrity preservation check. The check-ins in zTab
205 ** are about to be deleted or otherwise made inaccessible. This routine
206 ** is checking to ensure that purging the check-ins in zTab will not delete
207 ** a baseline manifest out from under a delta.
208 */
209 int purge_baseline_out_from_under_delta(const char *zTab){
210 if( !db_table_has_column("repository","plink","baseid") ){
211 /* Skip this check if the current database is an older schema that
@@ -220,17 +220,17 @@
220
221
222 /*
223 ** The TEMP table named zTab contains the RIDs for a set of check-in
224 ** artifacts. Expand this set (by adding new entries to zTab) to include
225 ** all other artifacts that are used the set of check-ins in
226 ** the original list.
227 **
228 ** If the bExclusive flag is true, then the set is only expanded by
229 ** artifacts that are used exclusively by the check-ins in the set.
230 ** When bExclusive is false, then all artifacts used by the check-ins
231 ** are added even if those artifacts are also used by other check-ins
232 ** not in the set.
233 **
234 ** The "fossil publish" command with the (undocumented) --test and
235 ** --exclusive options can be used for interactiving testing of this
236 ** function.
@@ -435,16 +435,16 @@
435 ** Write the content of one or more artifacts in the graveyard onto
436 ** standard output.
437 **
438 ** fossil purge ?checkins? TAGS... ?OPTIONS?
439 **
440 ** Move the check-ins identified by TAGS and all of their descendants
441 ** out of the repository and into the graveyard. The "checkins"
442 ** subcommand keyword is option and can be omitted as long as TAGS
443 ** does not conflict with any other subcommand.
444 **
445 ** If a TAGS includes a branch name then it means all the check-ins
446 ** on the most recent occurrance of that branch.
447 **
448 ** --explain Make no changes, but show what would happen.
449 ** --dry-run Make no chances.
450 **
451
+2 -2
--- src/rss.c
+++ src/rss.c
@@ -26,11 +26,11 @@
2626
** WEBPAGE: timeline.rss
2727
** URL: /timeline.rss?y=TYPE&n=LIMIT&tkt=UUID&tag=TAG&wiki=NAME&name=FILENAME
2828
**
2929
** Produce an RSS feed of the timeline.
3030
**
31
-** TYPE may be: all, ci (show checkins only), t (show tickets only),
31
+** TYPE may be: all, ci (show check-ins only), t (show tickets only),
3232
** w (show wiki only).
3333
**
3434
** LIMIT is the number of items to show.
3535
**
3636
** tkt=UUID filters for only those events for the specified ticket. tag=TAG
@@ -213,11 +213,11 @@
213213
**
214214
** The CLI variant of the /timeline.rss page, this produces an RSS
215215
** feed of the timeline to stdout. Options:
216216
**
217217
** -type|y FLAG
218
-** may be: all (default), ci (show checkins only), t (show tickets only),
218
+** may be: all (default), ci (show check-ins only), t (show tickets only),
219219
** w (show wiki only).
220220
**
221221
** -limit|n LIMIT
222222
** The maximum number of items to show.
223223
**
224224
--- src/rss.c
+++ src/rss.c
@@ -26,11 +26,11 @@
26 ** WEBPAGE: timeline.rss
27 ** URL: /timeline.rss?y=TYPE&n=LIMIT&tkt=UUID&tag=TAG&wiki=NAME&name=FILENAME
28 **
29 ** Produce an RSS feed of the timeline.
30 **
31 ** TYPE may be: all, ci (show checkins only), t (show tickets only),
32 ** w (show wiki only).
33 **
34 ** LIMIT is the number of items to show.
35 **
36 ** tkt=UUID filters for only those events for the specified ticket. tag=TAG
@@ -213,11 +213,11 @@
213 **
214 ** The CLI variant of the /timeline.rss page, this produces an RSS
215 ** feed of the timeline to stdout. Options:
216 **
217 ** -type|y FLAG
218 ** may be: all (default), ci (show checkins only), t (show tickets only),
219 ** w (show wiki only).
220 **
221 ** -limit|n LIMIT
222 ** The maximum number of items to show.
223 **
224
--- src/rss.c
+++ src/rss.c
@@ -26,11 +26,11 @@
26 ** WEBPAGE: timeline.rss
27 ** URL: /timeline.rss?y=TYPE&n=LIMIT&tkt=UUID&tag=TAG&wiki=NAME&name=FILENAME
28 **
29 ** Produce an RSS feed of the timeline.
30 **
31 ** TYPE may be: all, ci (show check-ins only), t (show tickets only),
32 ** w (show wiki only).
33 **
34 ** LIMIT is the number of items to show.
35 **
36 ** tkt=UUID filters for only those events for the specified ticket. tag=TAG
@@ -213,11 +213,11 @@
213 **
214 ** The CLI variant of the /timeline.rss page, this produces an RSS
215 ** feed of the timeline to stdout. Options:
216 **
217 ** -type|y FLAG
218 ** may be: all (default), ci (show check-ins only), t (show tickets only),
219 ** w (show wiki only).
220 **
221 ** -limit|n LIMIT
222 ** The maximum number of items to show.
223 **
224
+9 -9
--- src/schema.c
+++ src/schema.c
@@ -228,19 +228,19 @@
228228
@ CREATE TABLE filename(
229229
@ fnid INTEGER PRIMARY KEY, -- Filename ID
230230
@ name TEXT UNIQUE -- Name of file page
231231
@ );
232232
@
233
-@ -- Linkages between checkins, files created by each checkin, and
233
+@ -- Linkages between check-ins, files created by each check-in, and
234234
@ -- the names of those files.
235235
@ --
236236
@ -- Each entry represents a file that changed content from pid to fid
237237
@ -- due to the check-in that goes from pmid to mid. fnid is the name
238238
@ -- of the file in the mid check-in. If the file was renamed as part
239239
@ -- of the mid check-in, then pfnid is the previous filename.
240240
@
241
-@ -- There can be multiple entries for (mid,fid) if the mid checkin was
241
+@ -- There can be multiple entries for (mid,fid) if the mid check-in was
242242
@ -- a merge. Entries with isaux==0 are from the primary parent. Merge
243243
@ -- parents have isaux set to true.
244244
@ --
245245
@ -- Field name mnemonics:
246246
@ -- mid = Manifest ID. (Each check-in is stored as a "Manifest")
@@ -249,12 +249,12 @@
249249
@ -- pid = Parent file ID.
250250
@ -- fnid = File Name ID.
251251
@ -- pfnid = Parent File Name ID.
252252
@ -- isaux = pmid IS AUXiliary parent, not primary parent
253253
@ --
254
-@ -- pid==0 if the file is added by checkin mid.
255
-@ -- fid==0 if the file is removed by checkin mid.
254
+@ -- pid==0 if the file is added by check-in mid.
255
+@ -- fid==0 if the file is removed by check-in mid.
256256
@ --
257257
@ CREATE TABLE mlink(
258258
@ mid INTEGER REFERENCES plink(cid), -- Checkin that contains fid
259259
@ fid INTEGER REFERENCES blob, -- New file content. 0 if deleted
260260
@ pmid INTEGER REFERENCES plink(cid), -- Checkin that contains pid
@@ -267,11 +267,11 @@
267267
@ CREATE INDEX mlink_i1 ON mlink(mid);
268268
@ CREATE INDEX mlink_i2 ON mlink(fnid);
269269
@ CREATE INDEX mlink_i3 ON mlink(fid);
270270
@ CREATE INDEX mlink_i4 ON mlink(pid);
271271
@
272
-@ -- Parent/child linkages between checkins
272
+@ -- Parent/child linkages between check-ins
273273
@ --
274274
@ CREATE TABLE plink(
275275
@ pid INTEGER REFERENCES blob, -- Parent manifest
276276
@ cid INTEGER REFERENCES blob, -- Child manifest
277277
@ isprim BOOLEAN, -- pid is the primary parent of cid
@@ -279,14 +279,14 @@
279279
@ baseid INTEGER REFERENCES blob, -- Baseline if cid is a delta manifest.
280280
@ UNIQUE(pid, cid)
281281
@ );
282282
@ CREATE INDEX plink_i2 ON plink(cid,pid);
283283
@
284
-@ -- A "leaf" checkin is a checkin that has no children in the same
284
+@ -- A "leaf" check-in is a check-in that has no children in the same
285285
@ -- branch. The set of all leaves is easily computed with a join,
286286
@ -- between the plink and tagxref tables, but it is a slower join for
287
-@ -- very large repositories (repositories with 100,000 or more checkins)
287
+@ -- very large repositories (repositories with 100,000 or more check-ins)
288288
@ -- and so it makes sense to precompute the set of leaves. There is
289289
@ -- one entry in the following table for each leaf.
290290
@ --
291291
@ CREATE TABLE leaf(rid INTEGER PRIMARY KEY);
292292
@
@@ -393,11 +393,11 @@
393393
@ -- facilitate the display of "back links".
394394
@ --
395395
@ CREATE TABLE backlink(
396396
@ target TEXT, -- Where the hyperlink points to
397397
@ srctype INT, -- 0: check-in 1: ticket 2: wiki
398
-@ srcid INT, -- rid for checkin or wiki. tkt_id for ticket.
398
+@ srcid INT, -- rid for check-in or wiki. tkt_id for ticket.
399399
@ mtime TIMESTAMP, -- time that the hyperlink was added. Julian day.
400400
@ UNIQUE(target, srctype, srcid)
401401
@ );
402402
@ CREATE INDEX backlink_src ON backlink(srcid, srctype);
403403
@
@@ -465,11 +465,11 @@
465465
# define TAG_HIDDEN 5 /* Do not display in timeline */
466466
# define TAG_PRIVATE 6 /* Do not sync */
467467
# define TAG_CLUSTER 7 /* A cluster */
468468
# define TAG_BRANCH 8 /* Value is name of the current branch */
469469
# define TAG_CLOSED 9 /* Do not display this check-in as a leaf */
470
-# define TAG_PARENT 10 /* Change to parentage on a checkin */
470
+# define TAG_PARENT 10 /* Change to parentage on a check-in */
471471
#endif
472472
#if EXPORT_INTERFACE
473473
# define MAX_INT_TAG 16 /* The largest pre-assigned tag id */
474474
#endif
475475
476476
--- src/schema.c
+++ src/schema.c
@@ -228,19 +228,19 @@
228 @ CREATE TABLE filename(
229 @ fnid INTEGER PRIMARY KEY, -- Filename ID
230 @ name TEXT UNIQUE -- Name of file page
231 @ );
232 @
233 @ -- Linkages between checkins, files created by each checkin, and
234 @ -- the names of those files.
235 @ --
236 @ -- Each entry represents a file that changed content from pid to fid
237 @ -- due to the check-in that goes from pmid to mid. fnid is the name
238 @ -- of the file in the mid check-in. If the file was renamed as part
239 @ -- of the mid check-in, then pfnid is the previous filename.
240 @
241 @ -- There can be multiple entries for (mid,fid) if the mid checkin was
242 @ -- a merge. Entries with isaux==0 are from the primary parent. Merge
243 @ -- parents have isaux set to true.
244 @ --
245 @ -- Field name mnemonics:
246 @ -- mid = Manifest ID. (Each check-in is stored as a "Manifest")
@@ -249,12 +249,12 @@
249 @ -- pid = Parent file ID.
250 @ -- fnid = File Name ID.
251 @ -- pfnid = Parent File Name ID.
252 @ -- isaux = pmid IS AUXiliary parent, not primary parent
253 @ --
254 @ -- pid==0 if the file is added by checkin mid.
255 @ -- fid==0 if the file is removed by checkin mid.
256 @ --
257 @ CREATE TABLE mlink(
258 @ mid INTEGER REFERENCES plink(cid), -- Checkin that contains fid
259 @ fid INTEGER REFERENCES blob, -- New file content. 0 if deleted
260 @ pmid INTEGER REFERENCES plink(cid), -- Checkin that contains pid
@@ -267,11 +267,11 @@
267 @ CREATE INDEX mlink_i1 ON mlink(mid);
268 @ CREATE INDEX mlink_i2 ON mlink(fnid);
269 @ CREATE INDEX mlink_i3 ON mlink(fid);
270 @ CREATE INDEX mlink_i4 ON mlink(pid);
271 @
272 @ -- Parent/child linkages between checkins
273 @ --
274 @ CREATE TABLE plink(
275 @ pid INTEGER REFERENCES blob, -- Parent manifest
276 @ cid INTEGER REFERENCES blob, -- Child manifest
277 @ isprim BOOLEAN, -- pid is the primary parent of cid
@@ -279,14 +279,14 @@
279 @ baseid INTEGER REFERENCES blob, -- Baseline if cid is a delta manifest.
280 @ UNIQUE(pid, cid)
281 @ );
282 @ CREATE INDEX plink_i2 ON plink(cid,pid);
283 @
284 @ -- A "leaf" checkin is a checkin that has no children in the same
285 @ -- branch. The set of all leaves is easily computed with a join,
286 @ -- between the plink and tagxref tables, but it is a slower join for
287 @ -- very large repositories (repositories with 100,000 or more checkins)
288 @ -- and so it makes sense to precompute the set of leaves. There is
289 @ -- one entry in the following table for each leaf.
290 @ --
291 @ CREATE TABLE leaf(rid INTEGER PRIMARY KEY);
292 @
@@ -393,11 +393,11 @@
393 @ -- facilitate the display of "back links".
394 @ --
395 @ CREATE TABLE backlink(
396 @ target TEXT, -- Where the hyperlink points to
397 @ srctype INT, -- 0: check-in 1: ticket 2: wiki
398 @ srcid INT, -- rid for checkin or wiki. tkt_id for ticket.
399 @ mtime TIMESTAMP, -- time that the hyperlink was added. Julian day.
400 @ UNIQUE(target, srctype, srcid)
401 @ );
402 @ CREATE INDEX backlink_src ON backlink(srcid, srctype);
403 @
@@ -465,11 +465,11 @@
465 # define TAG_HIDDEN 5 /* Do not display in timeline */
466 # define TAG_PRIVATE 6 /* Do not sync */
467 # define TAG_CLUSTER 7 /* A cluster */
468 # define TAG_BRANCH 8 /* Value is name of the current branch */
469 # define TAG_CLOSED 9 /* Do not display this check-in as a leaf */
470 # define TAG_PARENT 10 /* Change to parentage on a checkin */
471 #endif
472 #if EXPORT_INTERFACE
473 # define MAX_INT_TAG 16 /* The largest pre-assigned tag id */
474 #endif
475
476
--- src/schema.c
+++ src/schema.c
@@ -228,19 +228,19 @@
228 @ CREATE TABLE filename(
229 @ fnid INTEGER PRIMARY KEY, -- Filename ID
230 @ name TEXT UNIQUE -- Name of file page
231 @ );
232 @
233 @ -- Linkages between check-ins, files created by each check-in, and
234 @ -- the names of those files.
235 @ --
236 @ -- Each entry represents a file that changed content from pid to fid
237 @ -- due to the check-in that goes from pmid to mid. fnid is the name
238 @ -- of the file in the mid check-in. If the file was renamed as part
239 @ -- of the mid check-in, then pfnid is the previous filename.
240 @
241 @ -- There can be multiple entries for (mid,fid) if the mid check-in was
242 @ -- a merge. Entries with isaux==0 are from the primary parent. Merge
243 @ -- parents have isaux set to true.
244 @ --
245 @ -- Field name mnemonics:
246 @ -- mid = Manifest ID. (Each check-in is stored as a "Manifest")
@@ -249,12 +249,12 @@
249 @ -- pid = Parent file ID.
250 @ -- fnid = File Name ID.
251 @ -- pfnid = Parent File Name ID.
252 @ -- isaux = pmid IS AUXiliary parent, not primary parent
253 @ --
254 @ -- pid==0 if the file is added by check-in mid.
255 @ -- fid==0 if the file is removed by check-in mid.
256 @ --
257 @ CREATE TABLE mlink(
258 @ mid INTEGER REFERENCES plink(cid), -- Checkin that contains fid
259 @ fid INTEGER REFERENCES blob, -- New file content. 0 if deleted
260 @ pmid INTEGER REFERENCES plink(cid), -- Checkin that contains pid
@@ -267,11 +267,11 @@
267 @ CREATE INDEX mlink_i1 ON mlink(mid);
268 @ CREATE INDEX mlink_i2 ON mlink(fnid);
269 @ CREATE INDEX mlink_i3 ON mlink(fid);
270 @ CREATE INDEX mlink_i4 ON mlink(pid);
271 @
272 @ -- Parent/child linkages between check-ins
273 @ --
274 @ CREATE TABLE plink(
275 @ pid INTEGER REFERENCES blob, -- Parent manifest
276 @ cid INTEGER REFERENCES blob, -- Child manifest
277 @ isprim BOOLEAN, -- pid is the primary parent of cid
@@ -279,14 +279,14 @@
279 @ baseid INTEGER REFERENCES blob, -- Baseline if cid is a delta manifest.
280 @ UNIQUE(pid, cid)
281 @ );
282 @ CREATE INDEX plink_i2 ON plink(cid,pid);
283 @
284 @ -- A "leaf" check-in is a check-in that has no children in the same
285 @ -- branch. The set of all leaves is easily computed with a join,
286 @ -- between the plink and tagxref tables, but it is a slower join for
287 @ -- very large repositories (repositories with 100,000 or more check-ins)
288 @ -- and so it makes sense to precompute the set of leaves. There is
289 @ -- one entry in the following table for each leaf.
290 @ --
291 @ CREATE TABLE leaf(rid INTEGER PRIMARY KEY);
292 @
@@ -393,11 +393,11 @@
393 @ -- facilitate the display of "back links".
394 @ --
395 @ CREATE TABLE backlink(
396 @ target TEXT, -- Where the hyperlink points to
397 @ srctype INT, -- 0: check-in 1: ticket 2: wiki
398 @ srcid INT, -- rid for check-in or wiki. tkt_id for ticket.
399 @ mtime TIMESTAMP, -- time that the hyperlink was added. Julian day.
400 @ UNIQUE(target, srctype, srcid)
401 @ );
402 @ CREATE INDEX backlink_src ON backlink(srcid, srctype);
403 @
@@ -465,11 +465,11 @@
465 # define TAG_HIDDEN 5 /* Do not display in timeline */
466 # define TAG_PRIVATE 6 /* Do not sync */
467 # define TAG_CLUSTER 7 /* A cluster */
468 # define TAG_BRANCH 8 /* Value is name of the current branch */
469 # define TAG_CLOSED 9 /* Do not display this check-in as a leaf */
470 # define TAG_PARENT 10 /* Change to parentage on a check-in */
471 #endif
472 #if EXPORT_INTERFACE
473 # define MAX_INT_TAG 16 /* The largest pre-assigned tag id */
474 #endif
475
476
+1 -1
--- src/style.c
+++ src/style.c
@@ -1045,11 +1045,11 @@
10451045
@ border-width: thin;
10461046
@ border-color: #000000;
10471047
@ border-style: solid;
10481048
},
10491049
{ "input.checkinUserColor",
1050
- "format for user color input on checkin edit page",
1050
+ "format for user color input on check-in edit page",
10511051
@ /* no special definitions, class defined, to enable color pickers, f.e.:
10521052
@ ** add the color picker found at http:jscolor.com as java script include
10531053
@ ** to the header and configure the java script file with
10541054
@ ** 1. use as bindClass :checkinUserColor
10551055
@ ** 2. change the default hash adding behaviour to ON
10561056
--- src/style.c
+++ src/style.c
@@ -1045,11 +1045,11 @@
1045 @ border-width: thin;
1046 @ border-color: #000000;
1047 @ border-style: solid;
1048 },
1049 { "input.checkinUserColor",
1050 "format for user color input on checkin edit page",
1051 @ /* no special definitions, class defined, to enable color pickers, f.e.:
1052 @ ** add the color picker found at http:jscolor.com as java script include
1053 @ ** to the header and configure the java script file with
1054 @ ** 1. use as bindClass :checkinUserColor
1055 @ ** 2. change the default hash adding behaviour to ON
1056
--- src/style.c
+++ src/style.c
@@ -1045,11 +1045,11 @@
1045 @ border-width: thin;
1046 @ border-color: #000000;
1047 @ border-style: solid;
1048 },
1049 { "input.checkinUserColor",
1050 "format for user color input on check-in edit page",
1051 @ /* no special definitions, class defined, to enable color pickers, f.e.:
1052 @ ** add the color picker found at http:jscolor.com as java script include
1053 @ ** to the header and configure the java script file with
1054 @ ** 1. use as bindClass :checkinUserColor
1055 @ ** 2. change the default hash adding behaviour to ON
1056
+3 -3
--- src/tag.c
+++ src/tag.c
@@ -60,19 +60,19 @@
6060
tagType==2, tagid
6161
);
6262
db_bind_double(&s, ":mtime", mtime);
6363
6464
if( tagType==2 ){
65
- /* Set the propagated tag marker on checkin :rid */
65
+ /* Set the propagated tag marker on check-in :rid */
6666
db_prepare(&ins,
6767
"REPLACE INTO tagxref(tagid, tagtype, srcid, origid, value, mtime, rid)"
6868
"VALUES(%d,2,0,%d,%Q,:mtime,:rid)",
6969
tagid, origId, zValue
7070
);
7171
db_bind_double(&ins, ":mtime", mtime);
7272
}else{
73
- /* Remove all references to the tag from checkin :rid */
73
+ /* Remove all references to the tag from check-in :rid */
7474
zValue = 0;
7575
db_prepare(&ins,
7676
"DELETE FROM tagxref WHERE tagid=%d AND rid=:rid", tagid
7777
);
7878
}
@@ -352,11 +352,11 @@
352352
** the propagation of the tag to any descendants.
353353
**
354354
** %fossil tag find ?--raw? ?-t|--type TYPE? ?-n|--limit #? TAGNAME
355355
**
356356
** List all objects that use TAGNAME. TYPE can be "ci" for
357
-** checkins or "e" for events. The limit option limits the number
357
+** check-ins or "e" for events. The limit option limits the number
358358
** of results to the given value.
359359
**
360360
** %fossil tag list|ls ?--raw? ?CHECK-IN?
361361
**
362362
** List all tags, or if CHECK-IN is supplied, list
363363
--- src/tag.c
+++ src/tag.c
@@ -60,19 +60,19 @@
60 tagType==2, tagid
61 );
62 db_bind_double(&s, ":mtime", mtime);
63
64 if( tagType==2 ){
65 /* Set the propagated tag marker on checkin :rid */
66 db_prepare(&ins,
67 "REPLACE INTO tagxref(tagid, tagtype, srcid, origid, value, mtime, rid)"
68 "VALUES(%d,2,0,%d,%Q,:mtime,:rid)",
69 tagid, origId, zValue
70 );
71 db_bind_double(&ins, ":mtime", mtime);
72 }else{
73 /* Remove all references to the tag from checkin :rid */
74 zValue = 0;
75 db_prepare(&ins,
76 "DELETE FROM tagxref WHERE tagid=%d AND rid=:rid", tagid
77 );
78 }
@@ -352,11 +352,11 @@
352 ** the propagation of the tag to any descendants.
353 **
354 ** %fossil tag find ?--raw? ?-t|--type TYPE? ?-n|--limit #? TAGNAME
355 **
356 ** List all objects that use TAGNAME. TYPE can be "ci" for
357 ** checkins or "e" for events. The limit option limits the number
358 ** of results to the given value.
359 **
360 ** %fossil tag list|ls ?--raw? ?CHECK-IN?
361 **
362 ** List all tags, or if CHECK-IN is supplied, list
363
--- src/tag.c
+++ src/tag.c
@@ -60,19 +60,19 @@
60 tagType==2, tagid
61 );
62 db_bind_double(&s, ":mtime", mtime);
63
64 if( tagType==2 ){
65 /* Set the propagated tag marker on check-in :rid */
66 db_prepare(&ins,
67 "REPLACE INTO tagxref(tagid, tagtype, srcid, origid, value, mtime, rid)"
68 "VALUES(%d,2,0,%d,%Q,:mtime,:rid)",
69 tagid, origId, zValue
70 );
71 db_bind_double(&ins, ":mtime", mtime);
72 }else{
73 /* Remove all references to the tag from check-in :rid */
74 zValue = 0;
75 db_prepare(&ins,
76 "DELETE FROM tagxref WHERE tagid=%d AND rid=:rid", tagid
77 );
78 }
@@ -352,11 +352,11 @@
352 ** the propagation of the tag to any descendants.
353 **
354 ** %fossil tag find ?--raw? ?-t|--type TYPE? ?-n|--limit #? TAGNAME
355 **
356 ** List all objects that use TAGNAME. TYPE can be "ci" for
357 ** check-ins or "e" for events. The limit option limits the number
358 ** of results to the given value.
359 **
360 ** %fossil tag list|ls ?--raw? ?CHECK-IN?
361 **
362 ** List all tags, or if CHECK-IN is supplied, list
363

Keyboard Shortcuts

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