Fossil

Check-in [92f8cefc]
Login

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

Overview
Comment:leave notes in help for re/deconstruct about flat import( ticket [3f748ac12c] )
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | wolfgangFormat2CSS_2
Files: files | file ages | folders
SHA1: 92f8cefcc8674d0aca94adbe527b71279da5b19b
User & Date: Ratte 2010-09-28 05:52:25
References
2010-09-28
05:55 Ticket [3f748ac1] reconstruct or deconstruct failure status still Open with 2 other changes artifact: 80033983 user: wolfgang
Context
2010-09-28
08:29
solved ticket [1b41304d8b]: moved style clear: both from code for content div to footer css, needs redefinition of div.footer in the css configuration! check-in: 15b3ad25 user: Ratte tags: wolfgangFormat2CSS_2
05:52
leave notes in help for re/deconstruct about flat import( ticket [3f748ac12c] ) check-in: 92f8cefc user: Ratte tags: wolfgangFormat2CSS_2
2010-09-27
18:31
HTML validated setup_settings page check-in: 4a017876 user: wolfgang tags: wolfgangFormat2CSS_2
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/rebuild.c.

407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
...
472
473
474
475
476
477
478


479
480
481
482
483
484
485
/*
** COMMAND: reconstruct
**
** Usage: %fossil reconstruct FILENAME DIRECTORY
**
** This command studies the artifacts (files) in DIRECTORY and
** reconstructs the fossil record from them. It places the new
** fossil repository in FILENAME
**
*/
void reconstruct_cmd(void) {
  char *zPassword;
  DIR *d;
  struct dirent *pEntry;
  Blob aContent; /* content of the just read artifact */
................................................................................
**
** This command exports all artifacts of o given repository and
** writes all artifacts to the file system. The DESTINATION directory
** will be populated with subdirectories AA and files AA/BBBBBBBBB.., where
** AABBBBBBBBB.. is the 40 character artifact ID, AA the first 2 characters.
** If -L|--prefixlength is given, the length (default 2) of the directory
** prefix can be set to 0,1,..,9 characters.


*/
void deconstruct_cmd(void){
  const char *zDestDir;
  const char *zPrefixOpt;
  int         prefixLength;
  char       *zAFileOutFormat;
  Stmt        q;







|







 







>
>







407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
...
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
/*
** COMMAND: reconstruct
**
** Usage: %fossil reconstruct FILENAME DIRECTORY
**
** This command studies the artifacts (files) in DIRECTORY and
** reconstructs the fossil record from them. It places the new
** fossil repository in FILENAME. Subdirectories are ignored.
**
*/
void reconstruct_cmd(void) {
  char *zPassword;
  DIR *d;
  struct dirent *pEntry;
  Blob aContent; /* content of the just read artifact */
................................................................................
**
** This command exports all artifacts of o given repository and
** writes all artifacts to the file system. The DESTINATION directory
** will be populated with subdirectories AA and files AA/BBBBBBBBB.., where
** AABBBBBBBBB.. is the 40 character artifact ID, AA the first 2 characters.
** If -L|--prefixlength is given, the length (default 2) of the directory
** prefix can be set to 0,1,..,9 characters.
**
** To use use the deconstructed artifacts with reconstruct, -L 0 should be used.
*/
void deconstruct_cmd(void){
  const char *zDestDir;
  const char *zPrefixOpt;
  int         prefixLength;
  char       *zAFileOutFormat;
  Stmt        q;