Hi DRH,
Shall I commit these changes?
- Altu
-Original Message-
From: Venkat Iyer ven...@comit.com
To: fossil-users@lists.fossil-scm.org
Sent: Wed, Oct 28, 2009 11:48 am
Subject: Re: [fossil-users] History for a particular file
I am not sure how to get it in, and if it's
I would like to see this feature in fossil. How does an enhancement like
this make its way into the main codebase?
--
Joshua Paine
LetterBlock: Web applications built with joy
http://letterblock.com/
301-576-1920
___
fossil-users mailing list
On Wed, Oct 21, 2009 at 3:09 AM, Venkat Iyer ven...@comit.com wrote:
A tiny optimization suggestion:
Blob line; while( db_step(q)==SQLITE_ROW ){
... as before...
}
blob_reset(line);
i believe that will avoid re-allocating the buffer string on each loop
iteration (it will only need to
In src/info.c, just before the finfo_page, add this code
below. Then
fossil finfo filename
Gives you the change history for a file. This is my first attempt at
doing anything inside fossil. Suggestions welcome.
- Venks
/*
** COMMAND: finfo FILENAME
**
** Print the complete change
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
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,
6 matches
Mail list logo