Hi Venkat, This is very helpful. Are you planning to commit it?
- Altu > ----- Original Message ----- > From: "Venkat Iyer" <[email protected]> > To: [email protected] > Subject: Re: [fossil-users] History for a particular file > Date: Tue, 20 Oct 2009 18:09:42 -0700 > > > > Thanks. Naively: > > while( db_step(&q)==SQLITE_ROW ){ > Blob line; > const char *zUuid = db_column_text(&q, 0); > const char *zDate = db_column_text(&q, 1); > const char *zCom = db_column_text(&q, 2); > const char *zUser = db_column_text(&q, 3); > blob_zero(&line); > blob_appendf(&line, "%.10s by %.10s on %.10s: %s\n", zUuid, > zUser, zDate, zCom); > comment_print(blob_str(&line), 4, 72); > blob_reset(&line); > } > > - Venkat > > On Oct 20, 2009, at 7:46 PM, Venkat Iyer wrote: > > while( db_step(&q)==SQLITE_ROW ){ > > const char *zUuid = db_column_text(&q, 0); > > const char *zDate = db_column_text(&q, 1); > > const char *zCom = db_column_text(&q, 2); > > const char *zUser = db_column_text(&q, 3); > > printf("Ver %.10s by %.10s on %.10s: %s\n", zUuid, zUser, zDate, zCom ); > > } > > > Consider using the comment_print() function located in comformat.c in > order to wrap the lines of output to no more than 79 characters per > line. > > D. Richard Hipp > [email protected] > > > > _______________________________________________ > fossil-users mailing list > [email protected] > http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users > > > > _______________________________________________ > fossil-users mailing list > [email protected] > http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users > -- Be Yourself @ mail.com! Choose From 200+ Email Addresses Get a Free Account at www.mail.com! _______________________________________________ fossil-users mailing list [email protected] http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

