Fossil

Check-in [a191d8fb]
Login

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

Overview
Comment:Improved help message for the unsupported test-content-put command.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:a191d8fb7661b09e12bf0c8551024ea62b0f065b
User & Date: drh 2012-11-22 12:16:45
Context
2012-11-22
14:03
Use the new WIKI_LINKSONLY rendering option for check-in comments on the timeline when the "plain text comments" option is enabled. check-in: 05a53dc0 user: drh tags: trunk
12:59
merge trunk check-in: 6e9c044e user: jan.nijtmans tags: ticket-d17d6e5b17
12:16
Improved help message for the unsupported test-content-put command. check-in: a191d8fb user: drh tags: trunk
11:54
Fix the text of one of the error messages generated by the artifact parser. check-in: 7b8e4752 user: drh tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/content.c.

665
666
667
668
669
670
671
672



673
674
675
676
677
678
679
  return rid;
}


/*
** COMMAND:  test-content-put
**
** Extract a blob from a file and write it into the database



*/
void test_content_put_cmd(void){
  int rid;
  Blob content;
  if( g.argc!=3 ) usage("FILENAME");
  db_must_be_within_tree();
  user_select();







|
>
>
>







665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
  return rid;
}


/*
** COMMAND:  test-content-put
**
** Usage: %fossil test-content-put FILE
**
** Read the content of FILE and add it to the Blob table as a new
** artifact using a direct call to content_put().
*/
void test_content_put_cmd(void){
  int rid;
  Blob content;
  if( g.argc!=3 ) usage("FILENAME");
  db_must_be_within_tree();
  user_select();