progress extension causes hg (3.5.1) convert to fail

Kevin O. Grover kevin at kevingrover.net
Sun Jan 10 21:04:30 UTC 2016


I have not re-run the this to verify that it's not a network issue.  I
wanted to report it before I forgot.
(It takes quite some time).


Windows 10 Home using cygwin (just updated)

$ uname -a
CYGWIN_NT-10.0 granite 2.3.1(0.291/5/3) 2015-11-14 12:44 x86_64 Cygwin

$ hg version
Mercurial Distributed SCM (version 3.5.1)

$ which hg
/usr/bin/hg

$ hg convert https://svn.FreeBSD.org/doc/head freebsd-doc-head-hg

....
5851 Add a link to ServerFault for FreeBSD specific questions.
5850 Correct the answer about tape drives.
5849 - Minor grammatical corrections in the 2013Q1 status report
5848 Merge the XML toolchain upgrade, which contains the following changes:
** Unknown exception encountered with possibly-broken third-party extension
progress
** which supports versions unknown of Mercurial.
** Please disable progress and try your action again.
** If that fixes the bug please report it to the extension author.
** Python 2.7.10 (default, Jun  1 2015, 18:05:38) [GCC 4.9.2]
** Mercurial Distributed SCM (version 3.5.1)
** Extensions loaded: churn, color, convert, eol, extdiff, graphlog, hgk,
progress, purge, rebase
Traceback (most recent call last):
  File "/usr/bin/hg", line 43, in <module>
    mercurial.dispatch.run()
  File "/usr/lib/python2.7/site-packages/mercurial/dispatch.py", line 30,
in run
    sys.exit((dispatch(request(sys.argv[1:])) or 0) & 255)
  File "/usr/lib/python2.7/site-packages/mercurial/dispatch.py", line 92,
in dispatch
    ret = _runcatch(req)
  File "/usr/lib/python2.7/site-packages/mercurial/dispatch.py", line 163,
in _runcatch
    return _dispatch(req)
  File "/usr/lib/python2.7/site-packages/mercurial/dispatch.py", line 895,
in _dispatch
    cmdpats, cmdoptions)
  File "/usr/lib/python2.7/site-packages/mercurial/dispatch.py", line 656,
in runcommand
    ret = _runcommand(ui, options, cmd, d)
  File "/usr/lib/python2.7/site-packages/mercurial/extensions.py", line
171, in closure
    return func(*(args + a), **kw)
  File "/usr/lib/python2.7/site-packages/hgext/color.py", line 525, in
colorcmd
    return orig(ui_, opts, cmd, cmdfunc)
  File "/usr/lib/python2.7/site-packages/mercurial/dispatch.py", line 1013,
in _runcommand
    return checkargs()
  File "/usr/lib/python2.7/site-packages/mercurial/dispatch.py", line 982,
in checkargs
    return cmdfunc()
  File "/usr/lib/python2.7/site-packages/mercurial/dispatch.py", line 892,
in <lambda>
    d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
  File "/usr/lib/python2.7/site-packages/mercurial/util.py", line 792, in
check
    return func(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/hgext/convert/__init__.py", line
380, in convert
    return convcmd.convert(ui, src, dest, revmapfile, **opts)
  File "/usr/lib/python2.7/site-packages/hgext/convert/convcmd.py", line
576, in convert
    c.convert(sortmode)
  File "/usr/lib/python2.7/site-packages/hgext/convert/convcmd.py", line
488, in convert
    self.copy(c)
  File "/usr/lib/python2.7/site-packages/hgext/convert/convcmd.py", line
420, in copy
    changes = self.source.getchanges(rev, full)
  File "/usr/lib/python2.7/site-packages/hgext/convert/subversion.py", line
478, in getchanges
    (files, copies) = self._getchanges(rev, full)
  File "/usr/lib/python2.7/site-packages/hgext/convert/subversion.py", line
459, in _getchanges
    files, self.removed, copies = self.expandpaths(rev, paths, parents)
  File "/usr/lib/python2.7/site-packages/hgext/convert/subversion.py", line
790, in expandpaths
    for childpath in self._iterfiles(path, revnum):
  File "/usr/lib/python2.7/site-packages/hgext/convert/subversion.py", line
995, in _iterfiles
    entries = svn.client.ls(rpath, optrev(revnum), True, self.ctx, pool)
  File "/usr/lib/python2.7/site-packages/libsvn/client.py", line 1434, in
svn_client_ls
    return _client.svn_client_ls(*args)
svn.core.SubversionException: 170013 - Unable to connect to a repository at
URL 'https://svn.freebsd.org/doc/head/it_IT.ISO8859-15/share/xsl'
670008 - None




$ rm -rf freebsd-doc-head-hg

$ hg --config extensions.progress=! convert https://svn.FreeBSD.org/doc/head
freebsd-doc-head-hg

# worked fine
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20160110/8e29b787/attachment.html>


More information about the Mercurial-devel mailing list