Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Because the "vfile" signatures are now used by "diff", be sure to recompute them before running the diff. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
149945beea2774a0c7e8744392612e97 |
| User & Date: | drh 2009-11-06 04:05:13.000 |
Context
|
2009-11-06
| ||
| 14:00 | Add the ability to diff to arbitrary versions of a single file. check-in: fe8bb01d38 user: drh tags: trunk | |
| 04:05 | Because the "vfile" signatures are now used by "diff", be sure to recompute them before running the diff. check-in: 149945beea user: drh tags: trunk | |
| 03:10 | After any kind of database error, include in the error message a warning to the user that it might be wise to run "fossil all rebuild". check-in: 397fa9bf78 user: drh tags: trunk | |
Changes
Changes to src/diffcmd.c.
| ︙ | ︙ | |||
152 153 154 155 156 157 158 159 160 161 162 163 164 165 |
*/
static void diff_all_against_disk(const char *zFrom, const char *zDiffCmd){
int vid;
Blob sql;
Stmt q;
vid = db_lget_int("checkout", 0);
blob_zero(&sql);
db_begin_transaction();
if( zFrom ){
int rid = name_to_rid(zFrom);
if( !is_a_version(rid) ){
fossil_fatal("no such check-in: %s", zFrom);
}
| > | 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 |
*/
static void diff_all_against_disk(const char *zFrom, const char *zDiffCmd){
int vid;
Blob sql;
Stmt q;
vid = db_lget_int("checkout", 0);
vfile_check_signature(vid);
blob_zero(&sql);
db_begin_transaction();
if( zFrom ){
int rid = name_to_rid(zFrom);
if( !is_a_version(rid) ){
fossil_fatal("no such check-in: %s", zFrom);
}
|
| ︙ | ︙ |