Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Changes In Branch lang Excluding Merge-Ins
This is equivalent to a diff from 0183e1917f to 1dfb33e879
2010-09-22
| ||
14:32 | Updates to the submenu links for ticket views. check-in: f29a826666 user: drh tags: trunk | |
02:58 | start of "nop" no-operation command check-in: 46ea03734f user: bharder tags: nop | |
2010-09-19
| ||
06:15 | merged trunk check-in: 5e7d7144ec user: Ratte tags: wolfgangFormat2CSS_2 | |
01:14 | merge trunk Leaf check-in: 1dfb33e879 user: bharder tags: lang | |
00:56 | Corrections to the built-in help text for the "all" command. check-in: 0183e1917f user: drh tags: trunk | |
2010-09-18
| ||
22:22 | Enable large-file support for stat() on linux. Fix the "stat" webpage to handle repositories larger than 2GB. Ticket [b1934313bcfb3a90d4027b] check-in: 31fdc347ac user: drh tags: trunk | |
16:04 | more pedantic language adj check-in: ee96785db6 user: bharder tags: lang | |
Changes to src/add.c.
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
...
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
|
zFilePath = blob_str(&pathname); if( !db_exists( "SELECT 1 FROM vfile WHERE pathname=%Q AND NOT deleted", zFilePath) ){ printf("SKIPPED %s\n", zPath); }else{ db_multi_exec("UPDATE vfile SET deleted=1 WHERE pathname=%Q", zPath); printf("DELETED %s\n", zPath); } blob_reset(&pathname); } blob_resize(&path, origSize); } } closedir(d); blob_reset(&path); } /* ** COMMAND: rm ** COMMAND: delete ** ** Usage: %fossil rm FILE... ** or: %fossil delete FILE... ** ** Remove one or more files from the tree. ** ** This command does not remove the files from disk. It just marks the ** files as no longer being part of the project. In other words, future ** changes to the named files will not be versioned. */ ................................................................................ file_tree_name(zName, &pathname, 1); zPath = blob_str(&pathname); if( !db_exists( "SELECT 1 FROM vfile WHERE pathname=%Q AND NOT deleted", zPath) ){ fossil_fatal("not in the repository: %s", zName); }else{ db_multi_exec("UPDATE vfile SET deleted=1 WHERE pathname=%Q", zPath); printf("DELETED %s\n", zPath); } blob_reset(&pathname); } free(zName); } db_multi_exec("DELETE FROM vfile WHERE deleted AND rid=0"); db_end_transaction(0); |
|
>
>
|
|
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
...
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
|
zFilePath = blob_str(&pathname); if( !db_exists( "SELECT 1 FROM vfile WHERE pathname=%Q AND NOT deleted", zFilePath) ){ printf("SKIPPED %s\n", zPath); }else{ db_multi_exec("UPDATE vfile SET deleted=1 WHERE pathname=%Q", zPath); printf("DISMISSED %s\n", zPath); } blob_reset(&pathname); } blob_resize(&path, origSize); } } closedir(d); blob_reset(&path); } /* ** COMMAND: rm ** COMMAND: delete ** COMMAND: dismiss ** ** Usage: %fossil rm FILE... ** or: %fossil delete FILE... ** or: %fossil dismiss FILE... ** ** Remove one or more files from the tree. ** ** This command does not remove the files from disk. It just marks the ** files as no longer being part of the project. In other words, future ** changes to the named files will not be versioned. */ ................................................................................ file_tree_name(zName, &pathname, 1); zPath = blob_str(&pathname); if( !db_exists( "SELECT 1 FROM vfile WHERE pathname=%Q AND NOT deleted", zPath) ){ fossil_fatal("not in the repository: %s", zName); }else{ db_multi_exec("UPDATE vfile SET deleted=1 WHERE pathname=%Q", zPath); printf("DISMISSED %s\n", zPath); } blob_reset(&pathname); } free(zName); } db_multi_exec("DELETE FROM vfile WHERE deleted AND rid=0"); db_end_transaction(0); |
Changes to src/checkin.c.
50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 .. 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 ... 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 |
int isDeleted = db_column_int(&q, 1); int isChnged = db_column_int(&q,2); int isNew = db_column_int(&q,3)==0; int isRenamed = db_column_int(&q,4); char *zFullName = mprintf("%s/%s", g.zLocalRoot, zPathname); blob_append(report, zPrefix, nPrefix); if( isDeleted ){ blob_appendf(report, "DELETED %s\n", zPathname); }else if( !file_isfile(zFullName) ){ if( access(zFullName, 0)==0 ){ blob_appendf(report, "NOT_A_FILE %s\n", zPathname); if( missingIsFatal ){ fossil_warning("not a file: %s", zPathname); nErr++; } ................................................................................ fossil_warning("missing file: %s", zPathname); nErr++; } } }else if( isNew ){ blob_appendf(report, "ADDED %s\n", zPathname); }else if( isDeleted ){ blob_appendf(report, "DELETED %s\n", zPathname); }else if( isChnged==2 ){ blob_appendf(report, "UPDATED_BY_MERGE %s\n", zPathname); }else if( isChnged==3 ){ blob_appendf(report, "ADDED_BY_MERGE %s\n", zPathname); }else if( isChnged==1 ){ blob_appendf(report, "EDITED %s\n", zPathname); }else if( isRenamed ){ ................................................................................ }else if( !file_isfile(zFullName) ){ if( access(zFullName, 0)==0 ){ printf("NOT_A_FILE %s\n", zPathname); }else{ printf("MISSING %s\n", zPathname); } }else if( isDeleted ){ printf("DELETED %s\n", zPathname); }else if( chnged ){ printf("EDITED %s\n", zPathname); }else if( renamed ){ printf("RENAMED %s\n", zPathname); }else{ printf("UNCHANGED %s\n", zPathname); } |
| | | |
50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 .. 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 ... 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 |
int isDeleted = db_column_int(&q, 1); int isChnged = db_column_int(&q,2); int isNew = db_column_int(&q,3)==0; int isRenamed = db_column_int(&q,4); char *zFullName = mprintf("%s/%s", g.zLocalRoot, zPathname); blob_append(report, zPrefix, nPrefix); if( isDeleted ){ blob_appendf(report, "DISMISSED %s\n", zPathname); }else if( !file_isfile(zFullName) ){ if( access(zFullName, 0)==0 ){ blob_appendf(report, "NOT_A_FILE %s\n", zPathname); if( missingIsFatal ){ fossil_warning("not a file: %s", zPathname); nErr++; } ................................................................................ fossil_warning("missing file: %s", zPathname); nErr++; } } }else if( isNew ){ blob_appendf(report, "ADDED %s\n", zPathname); }else if( isDeleted ){ blob_appendf(report, "DISMISSED %s\n", zPathname); }else if( isChnged==2 ){ blob_appendf(report, "UPDATED_BY_MERGE %s\n", zPathname); }else if( isChnged==3 ){ blob_appendf(report, "ADDED_BY_MERGE %s\n", zPathname); }else if( isChnged==1 ){ blob_appendf(report, "EDITED %s\n", zPathname); }else if( isRenamed ){ ................................................................................ }else if( !file_isfile(zFullName) ){ if( access(zFullName, 0)==0 ){ printf("NOT_A_FILE %s\n", zPathname); }else{ printf("MISSING %s\n", zPathname); } }else if( isDeleted ){ printf("DISMISSED %s\n", zPathname); }else if( chnged ){ printf("EDITED %s\n", zPathname); }else if( renamed ){ printf("RENAMED %s\n", zPathname); }else{ printf("UNCHANGED %s\n", zPathname); } |
Changes to src/diff.c.
817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 |
@ %s(ann.aOrig[i].zSrc): %h(ann.aOrig[i].z) } @ </pre> style_footer(); } /* ** COMMAND: annotate ** ** %fossil annotate FILENAME ** ** Output the text of a file with markings to show when each line of ** the file was last modified. */ void annotate_cmd(void){ int fnid; /* Filename ID */ int fid; /* File instance ID */ int mid; /* Manifest where file was checked in */ Blob treename; /* FILENAME translated to canonical form */ char *zFilename; /* Cannonical filename */ |
| | | | |
817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 |
@ %s(ann.aOrig[i].zSrc): %h(ann.aOrig[i].z) } @ </pre> style_footer(); } /* ** COMMAND: annotated ** ** %fossil annotated FILENAME ** ** Output annotated text of a file showing when each line of the file ** was last modified. */ void annotate_cmd(void){ int fnid; /* Filename ID */ int fid; /* File instance ID */ int mid; /* Manifest where file was checked in */ Blob treename; /* FILENAME translated to canonical form */ char *zFilename; /* Cannonical filename */ |
Changes to src/diffcmd.c.
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
...
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
|
while( db_step(&q)==SQLITE_ROW ){ const char *zPathname = db_column_text(&q,0); int isDeleted = db_column_int(&q, 1); int isChnged = db_column_int(&q,2); int isNew = db_column_int(&q,3); char *zFullName = mprintf("%s%s", g.zLocalRoot, zPathname); if( isDeleted ){ printf("DELETED %s\n", zPathname); }else if( access(zFullName, 0) ){ printf("MISSING %s\n", zPathname); }else if( isNew ){ printf("ADDED %s\n", zPathname); }else if( isChnged==3 ){ printf("ADDED_BY_MERGE %s\n", zPathname); }else{ ................................................................................ cmp = +1; }else if( iTo>=mTo.nFile ){ cmp = -1; }else{ cmp = strcmp(mFrom.aFile[iFrom].zName, mTo.aFile[iTo].zName); } if( cmp<0 ){ printf("DELETED %s\n", mFrom.aFile[iFrom].zName); iFrom++; }else if( cmp>0 ){ printf("ADDED %s\n", mTo.aFile[iTo].zName); iTo++; }else if( strcmp(mFrom.aFile[iFrom].zUuid, mTo.aFile[iTo].zUuid)==0 ){ /* No changes */ iFrom++; |
|
|
|
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
...
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
|
while( db_step(&q)==SQLITE_ROW ){ const char *zPathname = db_column_text(&q,0); int isDeleted = db_column_int(&q, 1); int isChnged = db_column_int(&q,2); int isNew = db_column_int(&q,3); char *zFullName = mprintf("%s%s", g.zLocalRoot, zPathname); if( isDeleted ){ printf("DISMISSED %s\n", zPathname); }else if( access(zFullName, 0) ){ printf("MISSING %s\n", zPathname); }else if( isNew ){ printf("ADDED %s\n", zPathname); }else if( isChnged==3 ){ printf("ADDED_BY_MERGE %s\n", zPathname); }else{ ................................................................................ cmp = +1; }else if( iTo>=mTo.nFile ){ cmp = -1; }else{ cmp = strcmp(mFrom.aFile[iFrom].zName, mTo.aFile[iTo].zName); } if( cmp<0 ){ printf("DISMISSED %s\n", mFrom.aFile[iFrom].zName); iFrom++; }else if( cmp>0 ){ printf("ADDED %s\n", mTo.aFile[iTo].zName); iTo++; }else if( strcmp(mFrom.aFile[iFrom].zUuid, mTo.aFile[iTo].zUuid)==0 ){ /* No changes */ iFrom++; |