Fossil

Check-in [53f2e7c5]
Login

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

Overview
Comment:Filter tags.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | jan-manifest-tags
Files: files | file ages | folders
SHA1: 53f2e7c54094efa60e82ffcbba769d1b4bcc9ea2
User & Date: jan 2016-01-04 03:10:27
Context
2016-01-04
03:41
Update manifests on tag change. check-in: 6f8f8667 user: jan tags: jan-manifest-tags
03:10
Filter tags. check-in: 53f2e7c5 user: jan tags: jan-manifest-tags
02:54
Handle the three manifest files separately so manifest generation reconfigurations can be handled properly. check-in: dacecc79 user: jan tags: jan-manifest-tags
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/checkout.c.

190
191
192
193
194
195
196

197
198
199
200
201
202
203
void get_checkin_taglist(int rid, Blob *pOut){
  char *zTags;
  Stmt stmt;
  blob_reset(pOut);
  db_prepare(&stmt, "SELECT substr(tagname, 5)"
                    "  FROM tagxref, tag"
                    " WHERE tagxref.rid=%d"

                    "   AND tag.tagid=tagxref.tagid"
                    "   AND tag.tagname GLOB 'sym-*'", rid);
  while( db_step(&stmt)==SQLITE_ROW ){
    const char *zName;
    zName = db_column_text(&stmt, 0);
    blob_appendf(pOut, "%s\n", zName);
  }







>







190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
void get_checkin_taglist(int rid, Blob *pOut){
  char *zTags;
  Stmt stmt;
  blob_reset(pOut);
  db_prepare(&stmt, "SELECT substr(tagname, 5)"
                    "  FROM tagxref, tag"
                    " WHERE tagxref.rid=%d"
                    "   AND tagxref.tagtype>0"
                    "   AND tag.tagid=tagxref.tagid"
                    "   AND tag.tagname GLOB 'sym-*'", rid);
  while( db_step(&stmt)==SQLITE_ROW ){
    const char *zName;
    zName = db_column_text(&stmt, 0);
    blob_appendf(pOut, "%s\n", zName);
  }