On 7/29/15, Sean Woods <[email protected]> wrote:
> If I use the URL /artifact/<artifact_id> I am taken to a source code
> listing of <artifact_id>.
>
> How can I do the same by filename?  Suppose I want the HEAD version of a
> given file, and I always want that URL to point to the HEAD version?
>
> Also (if not too much trouble) -- if someone could point me to the code
> where this is implemented it would be very instructive for me.  I tried,
> briefly, to follow the code path for the /artifact URL but wasn't
> successful...

https://www.fossil-scm.org/fossil/artifact/f04e5aae?ln=1810

The answer to your first question is contained in the header comment.

Note that to find the implementation of *any* webpage, you grep for
'WEBPAGE: pagename'.  Similarly, to find the implementation of any
command, grep for 'COMMAND: cmdname'.

>
> Thanks!
> _______________________________________________
> fossil-users mailing list
> [email protected]
> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
>


-- 
D. Richard Hipp
[email protected]
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to