Login
Check-in [46f57e287b]
Login

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

Overview
Comment:minor doc fix and removed a snippet of older code.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 46f57e287baa1a7d1794aecb38cb47cc223642de
User & Date: stephan 2014-08-16 14:30:17.444
Context
2014-08-16
14:32
seems i had repeated myself. check-in: b498e08277 user: stephan tags: trunk
14:30
minor doc fix and removed a snippet of older code. check-in: 46f57e287b user: stephan tags: trunk
2014-08-15
11:33
latest s2 for # operator changes. check-in: 57603b1953 user: stephan tags: trunk
Changes
Unified Diff Ignore Whitespace Patch
Changes to include/fossil-scm/fossil-content.h.
2052
2053
2054
2055
2056
2057
2058


2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
   opened repository db.

   If the callback returns any code other than 0 or FSL_RC_BREAK,
   looping over the list of files ends and this function returns
   that value. FSL_RC_BREAK causes looping to stop but 0 is
   returned.



   The callback must not expect files to be passed in any particlar
   order. They will seem, except in the case of file deletions
   in 

   See fsl_repo_extract_f() for more details about the semantics of
   the callback.

   Fossil's internal format guarantees that files will passed be
   passed to the callback in "lexical order" (as defined by fossil's
   manifest format definition). i.e. the files will be passed in







>
>
|
|
|







2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
   opened repository db.

   If the callback returns any code other than 0 or FSL_RC_BREAK,
   looping over the list of files ends and this function returns
   that value. FSL_RC_BREAK causes looping to stop but 0 is
   returned.

   Files deleted by the given version are not reported to the callback
   (because getting sane semantics has proven to be tricker and more
   costly than it's worth). The callback is gauranteed that the order
   of the calls made to it will match the lexical ordering of the
   F-cards' names.

   See fsl_repo_extract_f() for more details about the semantics of
   the callback.

   Fossil's internal format guarantees that files will passed be
   passed to the callback in "lexical order" (as defined by fossil's
   manifest format definition). i.e. the files will be passed in
Changes to src/fsl_repo.c.
1281
1282
1283
1284
1285
1286
1287

1288
1289
1290
1291
1292
1293
1294
1295
          content->used = 0;
          rc = fsl_content_get(f, fid, content);
        }
      }
      if(!rc){
        /** Call the callback. */
        xst.fc = fc;

        xst.content = (fid>0) ? content : NULL;
        xst.fileRid = fid;
        rc = callback( &xst );
        if(FSL_RC_BREAK==rc){
          rc = 0;
          break;
        }
      }







>
|







1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
          content->used = 0;
          rc = fsl_content_get(f, fid, content);
        }
      }
      if(!rc){
        /** Call the callback. */
        xst.fc = fc;
        assert(fid>0);
        xst.content = content;
        xst.fileRid = fid;
        rc = callback( &xst );
        if(FSL_RC_BREAK==rc){
          rc = 0;
          break;
        }
      }