roed$ blamer sage/rings/finite_rings/finite_field_base.pyx
hg: parse error at 24: unexpected token: end
Traceback (most recent call last):
  File "/usr/bin/blamer", line 22, in <module>
    print "%s%s"%(lookup(l[:c]),l[c:]),
  File "/usr/bin/blamer", line 14, in lookup
    "--template","{tags}"])
  File "/Users/roed/sage/sage-5.1.beta5/local/lib/python2.7/subprocess.py",
line 544, in check_output
    raise CalledProcessError(retcode, cmd, output=output)
subprocess.CalledProcessError: Command '['hg', 'log', '-r',
'limit(descendants(14913) and tag(),1)', '--template', '{tags}']'
returned non-zero exit status 255

Indeed, the following gives the same error:
roed$ hg log -r 'limit(descendants(14047) and tag(),1)' --template {tags}
hg: parse error at 24: unexpected token: end

On Sat, Jul 21, 2012 at 2:14 PM, Nils Bruin <nbr...@sfu.ca> wrote:
> My apologies. "latesttag" prints the latest tag that is an *ancestor*
> of the given revision, so it's the last release that *didn't* have
> that change. Of course, with mercurial having to deal with branching,
> that's the only direction in which relations are well-defined. For
> sage development, we want the oldest tag that is a descendant, so you
> should use
>
>     val=subprocess.check_output(["hg","log",
>                "-r","limit(descendants(%s) and tag(),1)"%rev,
>                "--template","{tags}"])
>
> instead of just printing "{latesttag}".
>
> --
> --
> 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



Reply via email to