On Mon, Apr 30, 2012 at 2:16 PM, Leo Razoumov <slonik...@gmail.com> wrote:
> On Mon, Apr 30, 2012 at 08:31, Richard Hipp <d...@sqlite.org> wrote: > > On Mon, Apr 30, 2012 at 8:17 AM, Leo Razoumov <slonik...@gmail.com> > wrote: > >> > >> I think this means that every time one accesses a repository via > >> cg-bin the repository updates the "baseurl:..." entry. This would make > >> rsync based replication/backup scripts go nuts (they depend on > >> timestamps and checksums). > > > > No. The entry is only updated if it does not previously exist or if the > > database file was changing for some other reason. > > > > Please, correct me if I am wrong but in src/main.c > http://www.fossil-scm.org/fossil/artifact/049447e6be?ln=1097-1107 > "cmd_cgi" will always insert/replace "baseurl:..." entry as long as > the repository is writable. > db_optional_sql() only runs if some other write operation is also taking place. So if the repo is only being read by the CGI, then db_optional_sql() is a no-op. > > --Leo-- > -- D. Richard Hipp d...@sqlite.org
_______________________________________________ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users