On Mon, 16 Oct 2017 10:00:32 -0400, Pulkit Goyal <7895pul...@gmail.com> wrote:

On Mon, Oct 16, 2017 at 6:51 PM, Matt Harbison <mharbiso...@gmail.com> wrote:
# HG changeset patch
# User Matt Harbison <matt_harbi...@yahoo.com>
# Date 1508122082 14400
#      Sun Oct 15 22:48:02 2017 -0400
# Node ID d0c2b68fedb27184337af6392ecc1f03dab39522
# Parent  718adb1bf3a9a1ee509a803c7512c14296a1db79
subrepo: share instead of clone if the parent repo is shared (issue5675) (BC)

Can you please add a releasenotes part to the commit message?
For reference: https://www.mercurial-scm.org/wiki/ReleasenotesExtension

I took a run at it (probably not successfully- the command aborts, but check-code didn't complain).

$ hg --config extensions.releasenotes= releasenotes -r . rn.txt
abort: unexpected block in release notes directive fix

Is there any way to get the location of the error? (I know nothing about this format, so I'm not sure where to start.)


In trying to reproduce this on a revision that's not mine (and in fact doesn't have an annotation), I got this:

$ hg --config extensions.releasenotes= releasenotes -r cfb054a7ecc4 rn.txt
** Unknown exception encountered with possibly-broken third-party extension evolve
** which supports versions 4.2 of Mercurial.
** Please disable evolve and try your action again.
** If that fixes the bug please report it to https://bz.mercurial-scm.org/
** Python 2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 20:53:40) [MSC v.1500 64 bit (AMD64)]
** Mercurial Distributed SCM (version 4.3-rc+4-ac3477dc1814)
** Extensions loaded: eol, rebase, convert, graphlog, patchbomb, extdiff, strip, mq, evolve, releasenotes
Traceback (most recent call last):
  File "hg", line 45, in <module>
  File "mercurial\dispatch.pyc", line 81, in run
  File "mercurial\dispatch.pyc", line 162, in dispatch
  File "mercurial\dispatch.pyc", line 302, in _runcatch
  File "mercurial\dispatch.pyc", line 310, in _callcatch
  File "mercurial\scmutil.pyc", line 150, in callcatch
  File "mercurial\dispatch.pyc", line 292, in _runcatchfunc
  File "mercurial\dispatch.pyc", line 895, in _dispatch
  File "mercurial\dispatch.pyc", line 658, in runcommand
  File "mercurial\dispatch.pyc", line 903, in _runcommand
  File "mercurial\dispatch.pyc", line 892, in <lambda>
  File "mercurial\util.pyc", line 1069, in check
  File "mercurial\extensions.pyc", line 322, in closure
  File "mercurial\util.pyc", line 1069, in check
  File "hgext\mq.pyc", line 3542, in mqcommand
  File "mercurial\util.pyc", line 1069, in check
  File "hgext\releasenotes.pyc", line 440, in releasenotes
  File "hgext\releasenotes.pyc", line 339, in serializenotes
IndexError: list index out of range
_______________________________________________
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

Reply via email to