Thanks Jason, that works perfectly! John
On Mon, Dec 6, 2010 at 12:08 PM, Jason Grout <jason-s...@creativetrax.com> wrote: > On 12/6/10 5:49 AM, John Cremona wrote: >> >> We want to give a URL for some Sage library source code, for example: >> >> >> http://hg.sagemath.org/sage-main/file/120c07be6358/sage/modular/cusps_nf.py >> >> but this link is specific to version 4.6 and so will (presumably) >> change for future releases. Is there any way we can refer to this >> file using a URL which will not change (or at least not for several >> weeks) > > > According to http://mercurial.selenic.com/wiki/FAQ/WebInterface (first > question), just replace the changeset id with "tip": > > http://hg.sagemath.org/sage-main/file/tip/sage/modular/cusps_nf.py > > Thanks, > > Jason > > > -- > To post to this group, send an email to sage-devel@googlegroups.com > To unsubscribe from this group, send an email to > sage-devel+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/sage-devel > URL: http://www.sagemath.org > -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org