Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Improve formatting for fossil ticket history. Make small fields print on same line, and make longer ones look better. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | venks-emacs |
Files: | files | file ages | folders |
SHA1: |
374920b20944b8ab8e2285d68388acb3 |
User & Date: | venkat 2011-08-31 07:50:56.549 |
Context
2011-09-01
| ||
22:00 | Merge in support for the "fossil ticket history" command from the venks-emacs branch. ... (check-in: 98a855c5 user: drh tags: trunk) | |
2011-08-31
| ||
07:50 | Improve formatting for fossil ticket history. Make small fields print on same line, and make longer ones look better. ... (Closed-Leaf check-in: 374920b2 user: venkat tags: venks-emacs) | |
2011-08-30
| ||
21:50 | Add ability to show ticket history from command line. fossil ticket now takes a new history option, which prints the history of a ticket - somewhat like what the history button does on the ticket web GUI. ... (check-in: 73e363ea user: venkat tags: venks-emacs) | |
Changes
Changes to src/tkt.c.
︙ | ︙ | |||
1062 1063 1064 1065 1066 1067 1068 | fossil_print("Ticket Change by %h on %h:\n", pTicket->zUser, zDate); for(i=0; i<pTicket->nField; i++){ Blob val; const char *z; z = pTicket->aField[i].zName; blob_set(&val, pTicket->aField[i].zValue); if( z[0]=='+' ){ | | < > | | > > > > | > > | 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 | fossil_print("Ticket Change by %h on %h:\n", pTicket->zUser, zDate); for(i=0; i<pTicket->nField; i++){ Blob val; const char *z; z = pTicket->aField[i].zName; blob_set(&val, pTicket->aField[i].zValue); if( z[0]=='+' ){ fossil_print(" Append to "); z++; }else{ fossil_print(" Change "); } fossil_print("%h: ",z); if( blob_size(&val)>50 || contains_newline(&val)) { fossil_print("\n ",blob_str(&val)); comment_print(blob_str(&val),4,79); }else{ fossil_print("%s\n",blob_str(&val)); } blob_reset(&val); } } manifest_destroy(pTicket); } } |
︙ | ︙ |