Fossil SCM
In File Browser's Tree-View the file entries link to /file URLs corresp. to the given check-in.
Commit
a470e782bcb4d9e19e8435d2fe153989dd5bdd04aef6cfa47afcb778947fd677
Parent
bbd53c778a55f18…
1 file changed
+1
-1
+1
-1
| --- src/browse.c | ||
| +++ src/browse.c | ||
| @@ -864,11 +864,11 @@ | ||
| 864 | 864 | nDir++; |
| 865 | 865 | }else if( !showDirOnly ){ |
| 866 | 866 | const char *zFileClass = fileext_class(p->zName); |
| 867 | 867 | char *zLink; |
| 868 | 868 | if( zCI ){ |
| 869 | - zLink = href("%R/artifact/%!S",p->zUuid); | |
| 869 | + zLink = href("%R/file/%T?ci=%!S",p->zFullName,zCI); | |
| 870 | 870 | }else{ |
| 871 | 871 | zLink = href("%R/finfo?name=%T",p->zFullName); |
| 872 | 872 | } |
| 873 | 873 | @ <li class="%z(zFileClass)%s(zLastClass)"><div class="filetreeline"> |
| 874 | 874 | @ %z(zLink)%h(p->zName)</a> |
| 875 | 875 |
| --- src/browse.c | |
| +++ src/browse.c | |
| @@ -864,11 +864,11 @@ | |
| 864 | nDir++; |
| 865 | }else if( !showDirOnly ){ |
| 866 | const char *zFileClass = fileext_class(p->zName); |
| 867 | char *zLink; |
| 868 | if( zCI ){ |
| 869 | zLink = href("%R/artifact/%!S",p->zUuid); |
| 870 | }else{ |
| 871 | zLink = href("%R/finfo?name=%T",p->zFullName); |
| 872 | } |
| 873 | @ <li class="%z(zFileClass)%s(zLastClass)"><div class="filetreeline"> |
| 874 | @ %z(zLink)%h(p->zName)</a> |
| 875 |
| --- src/browse.c | |
| +++ src/browse.c | |
| @@ -864,11 +864,11 @@ | |
| 864 | nDir++; |
| 865 | }else if( !showDirOnly ){ |
| 866 | const char *zFileClass = fileext_class(p->zName); |
| 867 | char *zLink; |
| 868 | if( zCI ){ |
| 869 | zLink = href("%R/file/%T?ci=%!S",p->zFullName,zCI); |
| 870 | }else{ |
| 871 | zLink = href("%R/finfo?name=%T",p->zFullName); |
| 872 | } |
| 873 | @ <li class="%z(zFileClass)%s(zLastClass)"><div class="filetreeline"> |
| 874 | @ %z(zLink)%h(p->zName)</a> |
| 875 |