Fossil

Check-in [e1d91b94]
Login

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

Overview
Comment:fix [1ee813d6] -- do not autocommit on wiki commit from cmdline
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:e1d91b947764c9abff588b9e64b31c529e0031d5
User & Date: ron 2011-03-23 11:25:57
Context
2011-03-23
12:32
If the "info" webpage references an ambiguous artifact ID, show all of the possible results. check-in: 2c8ea5ff user: drh tags: trunk
11:25
fix [1ee813d6] -- do not autocommit on wiki commit from cmdline check-in: e1d91b94 user: ron tags: trunk
2011-03-22
18:47
Always redirect to a fully qualified URL. Give the setup user an opportunity to redirecct from test_env for testing purposes. check-in: 63958fc5 user: drh tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/wiki.c.

821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
  db_begin_transaction();
  nrid = content_put( &wiki);
  db_multi_exec("INSERT OR IGNORE INTO unsent VALUES(%d)", nrid);
  manifest_crosslink(nrid,&wiki);
  assert( blob_is_reset(&wiki) );
  content_deltify(rid,nrid,0);
  db_end_transaction(0);
  autosync(AUTOSYNC_PUSH);  
  return 1;
}

/*
** COMMAND: wiki
**
** Usage: %fossil wiki (export|create|commit|list) WikiName







<







821
822
823
824
825
826
827

828
829
830
831
832
833
834
  db_begin_transaction();
  nrid = content_put( &wiki);
  db_multi_exec("INSERT OR IGNORE INTO unsent VALUES(%d)", nrid);
  manifest_crosslink(nrid,&wiki);
  assert( blob_is_reset(&wiki) );
  content_deltify(rid,nrid,0);
  db_end_transaction(0);

  return 1;
}

/*
** COMMAND: wiki
**
** Usage: %fossil wiki (export|create|commit|list) WikiName