Overview
SHA1 Hash: | ec82a32b8010ec0d4f579fc37a57665e612a5ada |
---|---|
Date: | 2008-05-10 18:19:03 |
User: | drh |
Comment: | Add the -nosync option to the "open" command. We might consider making -nosync the default for "open". |
Timelines: | ancestors | descendants | both | trunk |
Other Links: | files | ZIP archive | manifest |
Tags And Properties
- branch=trunk inherited from [a28c83647d]
- sym-trunk inherited from [a28c83647d]
Changes
[hide diffs]Modified src/db.c from [fdcc320716] to [0644da6326].
@@ -1026,10 +1026,11 @@ */ void cmd_open(void){ Blob path; int vid; static char *azNewArgv[] = { 0, "update", "--latest", 0 }; + url_proxy_options(); if( g.argc!=3 ){ usage("REPOSITORY-FILENAME"); } if( db_open_local() ){ fossil_panic("already within an open tree rooted at %s", g.zLocalRoot);
Modified src/url.c from [1e3ccdf688] to [228859a2f1].
@@ -148,11 +148,11 @@ ** --proxy URL|off ** */ void url_proxy_options(void){ zProxyOpt = find_option("proxy", 0, 1); - g.fNoSync = find_option("nosync", 0, 0)!=0; + if( find_option("nosync",0,0) ) g.fNoSync = 1; } /* ** If the "proxy" setting is defined, then change the URL to refer ** to the proxy server.