Jeroen Demeyer <jdeme...@cage.ugent.be> writes:
> On 2012-07-19 21:10, Dan Drake wrote:
>> Just a thought: it would be nice if we could somehow get "hg blame" to
>> annotate the file using Sage versions. Knowing that the line was changed
>> in changeset 17129 is useful, but what I *really* wanted to know was the
>> first released version of Sage (including alphas, beta, release
>> candidates) included that change.
>> 
>> Does this exist? Does it exist for git?
>
> A very related but slightly easier question: is there a way to see Sage
> versions in "hg log"?

This is possible in git by setting the config option log.decorate to
"full". In Mercurial there's no single setting to do this, but you can
design a custom log template which makes use of the "tags" variable, and
either pass it to `hg log` on the command line or save it in your
~/.hgrc - see `hg help templates`.

-Keshav

----
Join us in #sagemath on irc.freenode.net !

-- 
-- 
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



Reply via email to