Overview
SHA1 Hash: | bdac9f723842a42ccc0353ddd55cef50670a53a6 |
---|---|
Date: | 2008-08-14 04:52:30 |
User: | hintze |
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 fossil. |
Timelines: | ancestors | descendants | both | trunk |
Other Links: | files | ZIP archive | manifest |
Tags And Properties
- branch=trunk inherited from [a28c83647d]
- sym-trunk inherited from [a28c83647d]
Changes
[hide diffs]Modified src/info.c from [5e63c2eabc] to [20f6da86e6].
@@ -355,19 +355,21 @@ @ <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/fossil-%s(zShortUuid).zip?rid=%s(zUuid)">ZIP archive</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>