Fossil

Check-in [0a2eaa5a]
Login

Check-in [0a2eaa5a]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix typo that prevented the --no-repository option from working. Correction: It actually worked before and the issue was due to an incorrect assumption by the 'merge5' test, namely that the Fossil executable was present in the PATH.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 0a2eaa5ac2a71a322f8f960805e362f38f93bb5e
User & Date: mistachkin 2016-01-14 20:40:11
Original Comment: Fix typo that prevented the --no-repository option from working.
Context
2016-01-14
22:33
In the 'merge5' test, use the configured Fossil executable instead of relying on the PATH. ... (check-in: acbee54e user: mistachkin tags: trunk)
20:40
Fix typo that prevented the --no-repository option from working. Correction: It actually worked before and the issue was due to an incorrect assumption by the 'merge5' test, namely that the Fossil executable was present in the PATH. ... (check-in: 0a2eaa5a user: mistachkin tags: trunk)
20:38
Pick up recent autosetup changes from upstream. ... (check-in: b2e6a234 user: mistachkin tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/sqlcmd.c.
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
** Usage example for files_of_checkin:
**
**     CREATE VIRTUAL TABLE temp.foci USING files_of_checkin;
**     SELECT * FROM foci WHERE checkinID=symbolic_name_to_rid('trunk');
*/
void cmd_sqlite3(void){
  extern int sqlite3_shell(int, char**);
  if( !find_option("no-repository", 0, 0)!=0 ){
    db_find_and_open_repository(OPEN_ANY_SCHEMA, 0);
    db_close(1);
  }
  sqlite3_shutdown();
  sqlite3_shell(g.argc-1, g.argv+1);
  sqlite3_cancel_auto_extension((void(*)(void))sqlcmd_autoinit);
  g.db = 0;







|







196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
** Usage example for files_of_checkin:
**
**     CREATE VIRTUAL TABLE temp.foci USING files_of_checkin;
**     SELECT * FROM foci WHERE checkinID=symbolic_name_to_rid('trunk');
*/
void cmd_sqlite3(void){
  extern int sqlite3_shell(int, char**);
  if( find_option("no-repository", 0, 0)==0 ){
    db_find_and_open_repository(OPEN_ANY_SCHEMA, 0);
    db_close(1);
  }
  sqlite3_shutdown();
  sqlite3_shell(g.argc-1, g.argv+1);
  sqlite3_cancel_auto_extension((void(*)(void))sqlcmd_autoinit);
  g.db = 0;