Check-in [bdac9f7238]
Not logged in

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

Overview
Comment:Fix a stupid bug of mine introduced in [3c9e5699ce]. If the ZIP archive's name is composed, the actual project's name should be chosen instead of a fix <tt>fossil</tt>.
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: bdac9f723842a42ccc0353ddd55cef50670a53a6
User & Date: hintze 2008-08-14 04:52:30.000
References
2008-08-14
05:05
Oops... merge typos fix w/ [bdac9f7238], commited at nearly same time. check-in: 48c00d0bd3 user: bharder tags: trunk
Context
2008-08-14
05:05
Oops... merge typos fix w/ [bdac9f7238], commited at nearly same time. check-in: 48c00d0bd3 user: bharder tags: trunk
04:52
Fix a stupid bug of mine introduced in [3c9e5699ce]. If the ZIP archive's name is composed, the actual project's name should be chosen instead of a fix <tt>fossil</tt>. check-in: bdac9f7238 user: hintze tags: trunk
2008-08-13
19:22
Use new alternative <tt>/zip</tt> URL syntax for the <tt>Zip archive</tt> link at the <tt>/vinfo</tt> page. Where the old filename of the ZIP archive was <verbatim> 417dd898ab0640f2472ebd248ac80e80f0ec6972.zip </verbatim> the new name would be: <verbatim> fossil-417dd898ab.zip </verbatim> The archive's content is placed into a directory named a... check-in: 3c9e5699ce user: cle tags: trunk
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/info.c.
353
354
355
356
357
358
359

360
361
362
363
364
365
366
367
368

369
370
371
372
373
374
375
      @ <tr><th>Original&nbsp;Comment:</th><td>%w(zComment)</td></tr>
    }else{
      @ <tr><th>Comment:</th><td>%w(zComment)</td></tr>
    }
    @ </td></tr>
    if( g.okHistory ){
      char *zShortUuid = mprintf("%.10s", zUuid);

      @ <tr><th>Timelines:</th><td>
      @    <a href="%s(g.zBaseURL)/timeline?p=%d(rid)">ancestors</a>
      @    | <a href="%s(g.zBaseURL)/timeline?d=%d(rid)">descendants</a>
      @    | <a href="%s(g.zBaseURL)/timeline?d=%d(rid)&p=%d(rid)">both</a>
      @ </td></tr>
      @ <tr><th>Commands:</th>
      @   <td>
      @     <a href="%s(g.zBaseURL)/vdiff/%d(rid)">diff</a>
      @     | <a href="%s(g.zBaseURL)/zip/fossil-%s(zShortUuid).zip?rid=%s(zUuid)">ZIP archive</a>

      @     | <a href="%s(g.zBaseURL)/artifact/%d(rid)">manifest</a>
      if( g.okWrite ){
        @     | <a href="%s(g.zBaseURL)/vedit?r=%d(rid)">edit</a>
      }
      @   </td>
      @ </tr>
      free(zShortUuid);







>








|
>







353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
      @ <tr><th>Original&nbsp;Comment:</th><td>%w(zComment)</td></tr>
    }else{
      @ <tr><th>Comment:</th><td>%w(zComment)</td></tr>
    }
    @ </td></tr>
    if( g.okHistory ){
      char *zShortUuid = mprintf("%.10s", zUuid);
      const char *zProjName = db_get("project-name", "unnamed");
      @ <tr><th>Timelines:</th><td>
      @    <a href="%s(g.zBaseURL)/timeline?p=%d(rid)">ancestors</a>
      @    | <a href="%s(g.zBaseURL)/timeline?d=%d(rid)">descendants</a>
      @    | <a href="%s(g.zBaseURL)/timeline?d=%d(rid)&p=%d(rid)">both</a>
      @ </td></tr>
      @ <tr><th>Commands:</th>
      @   <td>
      @     <a href="%s(g.zBaseURL)/vdiff/%d(rid)">diff</a>
      @     | <a href="%s(g.zBaseURL)/zip/%s(zProjName)-%s(zShortUuid).zip?rid=%s(zUuid)">
      @         ZIP archive</a>
      @     | <a href="%s(g.zBaseURL)/artifact/%d(rid)">manifest</a>
      if( g.okWrite ){
        @     | <a href="%s(g.zBaseURL)/vedit?r=%d(rid)">edit</a>
      }
      @   </td>
      @ </tr>
      free(zShortUuid);