Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Move vfile_check_signature into "finfo --status" branch. The other options don't use it and it involves a lot of IO. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
ae84e6c7d1b14febea30e29f7d936b19 |
| User & Date: | joerg 2011-03-25 02:55:20.786 |
Context
|
2011-03-26
| ||
| 12:53 | Add the --private option to the "fossil branch new" command. Give a default orange color to private branches created by "fossil branch new". If the new branch created by "fossil branch new" is off of a private branch, make the new branch private too. Ticket [e24ec32b1da5f8f5e4abe] check-in: 2b33781694 user: drh tags: trunk | |
|
2011-03-25
| ||
| 02:55 | Move vfile_check_signature into "finfo --status" branch. The other options don't use it and it involves a lot of IO. check-in: ae84e6c7d1 user: joerg tags: trunk | |
| 02:53 | Use the somewhat simpler join in place of a subselect check-in: 7563c241ce user: joerg tags: trunk | |
Changes
Changes to src/finfo.c.
| ︙ | ︙ | |||
37 38 39 40 41 42 43 |
** a quick status and does not check for up-to-date-ness of the file.
**
** The -p form, there's an optional flag "-r|--revision REVISION". The
** specified version (or the latest checked out version) is printed to
** stdout.
*/
void finfo_cmd(void){
| < < < < < < < > > > > > > | 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 |
** a quick status and does not check for up-to-date-ness of the file.
**
** The -p form, there's an optional flag "-r|--revision REVISION". The
** specified version (or the latest checked out version) is printed to
** stdout.
*/
void finfo_cmd(void){
db_must_be_within_tree();
if (find_option("status","s",0)) {
Stmt q;
Blob line;
Blob fname;
int vid;
if( g.argc!=3 ) usage("-s|--status FILENAME");
vid = db_lget_int("checkout", 0);
if( vid==0 ){
fossil_panic("no checkout to finfo files in");
}
vfile_check_signature(vid, 1, 0);
file_tree_name(g.argv[2], &fname, 1);
db_prepare(&q,
"SELECT pathname, deleted, rid, chnged, coalesce(origname!=pathname,0)"
" FROM vfile WHERE vfile.pathname=%B", &fname);
blob_zero(&line);
if ( db_step(&q)==SQLITE_ROW ) {
Blob uuid;
|
| ︙ | ︙ |