Differences From Artifact [93e8f5c3cb]:
- File src/checkout.c — part of check-in [76f169fca6] at 2009-12-18 00:29:51 on branch trunk — Detect when the check-out contains missing files and filesystem objects that ought to be files but are not. Issue reasonable warnings. (user: drh size: 7155) [more...]
To Artifact [546cf488dc]:
- File src/checkout.c — part of check-in [c98948242e] at 2010-02-09 12:28:39 on branch trunk — Get the --latest option on the "co" command working when the current checkout is on a dead branch. Ticket [e42448edec1]. (user: drh size: 7368) [more...]
| ︙ | |||
179 180 181 182 183 184 185 186 187 188 189 190 191 192 | 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 | + + + + + |
prior = db_lget_int("checkout",0);
}
if( latestFlag ){
compute_leaves(db_lget_int("checkout",0), 1);
zVers = db_text(0, "SELECT uuid FROM leaves, event, blob"
" WHERE event.objid=leaves.rid AND blob.rid=leaves.rid"
" ORDER BY event.mtime DESC");
if( zVers==0 ){
zVers = db_text(0, "SELECT uuid FROM event, blob"
" WHERE event.objid=blob.rid AND event.type='ci'"
" ORDER BY event.mtime DESC");
}
if( zVers==0 ){
fossil_fatal("cannot locate \"latest\" checkout");
}
}else{
zVers = g.argv[2];
}
vid = load_vfile(zVers);
|
| ︙ |