Fossil

Check-in [0fb54e5a]
Login

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

Overview
Comment:For opened working trees, store current branch at top of manifest.tags.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | jan-manifest-tags
Files: files | file ages | folders
SHA1:0fb54e5afe2a60e4605d61ea47050046fd355656
User & Date: jan 2016-08-03 14:30:54
Context
2016-08-03
14:31
Comment typo fix. check-in: af574ca3 user: jan tags: jan-manifest-tags
14:30
For opened working trees, store current branch at top of manifest.tags. check-in: 0fb54e5a user: jan tags: jan-manifest-tags
01:18
Merge with trunk; resolved tar and zip generation to handle include/exclude globs. check-in: de9e7651 user: jan tags: jan-manifest-tags
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/checkout.c.

187
188
189
190
191
192
193








194
195
196
197
198
199
200
  }
}

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 ){







>
>
>
>
>
>
>
>







187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
  }
}

void get_checkin_taglist(int rid, Blob *pOut){
  char *zTags;
  Stmt stmt;
  blob_reset(pOut);
  if( g.localOpen ){
    char *zCurrent;
    int vid;
    vid = db_lget_int("checkout", 0);
    zCurrent = db_text(0, "SELECT value FROM tagxref"
                          " WHERE rid=%d AND tagid=%d", vid, TAG_BRANCH);
    blob_appendf(pOut, "branch=%s\n", zCurrent);
  }
  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 ){