Differences From:
File
src/info.c
part of check-in
[89de100a2d]
- Fix a bug in the check-in comment editor.
Ticket 4b40f57449.
by
drh on
2008-07-24 15:02:37.
[view]
To:
File
src/info.c
part of check-in
[3c9e5699ce]
- Use new alternative /zip URL syntax for the Zip archive
link at the /vinfo page. Where the old filename of the ZIP archive was
417dd898ab0640f2472ebd248ac80e80f0ec6972.zip
the new name would be:
fossil-417dd898ab.zip
The archive's content is placed into a directory named after the Zip archive
file's basename.
by
cle on
2008-08-13 19:22:50.
[view]
@@ -355,8 +355,9 @@
@ <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>
@@ -363,15 +364,16 @@
@ </td></tr>
@ <tr><th>Commands:</th>
@ <td>
@ <a href="%s(g.zBaseURL)/vdiff/%d(rid)">diff</a>
- @ | <a href="%s(g.zBaseURL)/zip/%s(zUuid).zip">ZIP archive</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);
}
@ </table></p>
}else{
style_header("Baseline Information");