Fossil

Check-in [d90460db]
Login

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

Overview
Comment:Tags should be imported with a sym- prefix.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | roy-export
Files: files | file ages | folders
SHA1:d90460dbf428e74b63262a25cf2b55939493ce23
User & Date: roy.marples 2017-02-13 00:20:09
Context
2017-02-13
10:37
Same as "roy-export", but use tag value in stead of comment for storing comment related to tags. (Not actually tested with GIT yet!) check-in: cb1fb96f user: jan.nijtmans tags: jn-export
03:34
Add comment cards to tags, which are accepted by git import and exported to git export.

They are visible via the timeline, but currently lack an editable means via the UI. check-in: 752bdd38 user: roy.marples tags: roy-export

00:20
Tags should be imported with a sym- prefix. check-in: d90460db user: roy.marples tags: roy-export
2017-02-12
15:17
Match committer / tag name <email> with a user's contact info record. If not found, then use the email address as the user name. check-in: 8f901ff5 user: roy.marples tags: roy-export
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/import.c.

214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
** control artifact to the BLOB table.
*/
static void finish_tag(void){
  Blob record, cksum;
  if( gg.zDate && gg.zTag && gg.zFrom && gg.zUser ){
    blob_zero(&record);
    blob_appendf(&record, "D %s\n", gg.zDate);
    blob_appendf(&record, "T +%F%F%F %s\n", gimport.zTagPre, gg.zTag,
        gimport.zTagSuf, gg.zFrom);
    blob_appendf(&record, "U %F\n", gg.zUser);
    md5sum_blob(&record, &cksum);
    blob_appendf(&record, "Z %b\n", &cksum);
    fast_insert_content(&record, 0, 0, 1);
    blob_reset(&cksum);
  }







|







214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
** control artifact to the BLOB table.
*/
static void finish_tag(void){
  Blob record, cksum;
  if( gg.zDate && gg.zTag && gg.zFrom && gg.zUser ){
    blob_zero(&record);
    blob_appendf(&record, "D %s\n", gg.zDate);
    blob_appendf(&record, "T +sym-%F%F%F %s\n", gimport.zTagPre, gg.zTag,
        gimport.zTagSuf, gg.zFrom);
    blob_appendf(&record, "U %F\n", gg.zUser);
    md5sum_blob(&record, &cksum);
    blob_appendf(&record, "Z %b\n", &cksum);
    fast_insert_content(&record, 0, 0, 1);
    blob_reset(&cksum);
  }