D2678: help: supporting both help and doc for aliases

pulkit (Pulkit Goyal) phabricator at mercurial-scm.org
Tue Mar 27 03:23:33 EDT 2018


pulkit added a comment.


  :(
  
    --- /home/foobar/repo/pushaccess/tests/test-paths.t
    +++ /home/foobar/repo/pushaccess/tests/test-paths.t.err
    @@ -132,10 +132,52 @@
     zeroconf wraps ui.configitems(), which shouldn't crash at least:
     
       $ hg paths --config extensions.zeroconf=
    -  dupe = $TESTTMP/b#tip
    -  dupe:pushurl = https://example.com/dupe
    -  expand = $TESTTMP/a/$SOMETHING/bar
    -  insecure = http://foo:***@example.com/
    +  ** unknown exception encountered, please report by visiting
    +  ** https://mercurial-scm.org/wiki/BugTracker
    +  ** Python 2.7.12 (default, Dec  4 2017, 14:50:18) [GCC 5.4.0 20160609]
    +  ** Mercurial Distributed SCM (version 4.5.2+1280-deb4b1721fe0)
    +  ** Extensions loaded: zeroconf
    +  Traceback (most recent call last):
    +    File "/tmp/hgtests.p14OA8/install/bin/hg", line 41, in <module>
    +      dispatch.run()
    +    File "/tmp/hgtests.p14OA8/install/lib/python/mercurial/dispatch.py", line 93, in run
    +      status = (dispatch(req) or 0)
    +    File "/tmp/hgtests.p14OA8/install/lib/python/mercurial/dispatch.py", line 213, in dispatch
    +      ret = _runcatch(req)
    +    File "/tmp/hgtests.p14OA8/install/lib/python/mercurial/dispatch.py", line 354, in _runcatch
    +      return _callcatch(ui, _runcatchfunc)
    +    File "/tmp/hgtests.p14OA8/install/lib/python/mercurial/dispatch.py", line 362, in _callcatch
    +      return scmutil.callcatch(ui, func)
    +    File "/tmp/hgtests.p14OA8/install/lib/python/mercurial/scmutil.py", line 159, in callcatch
    +      return func()
    +    File "/tmp/hgtests.p14OA8/install/lib/python/mercurial/dispatch.py", line 344, in _runcatchfunc
    +      return _dispatch(req)
    +    File "/tmp/hgtests.p14OA8/install/lib/python/mercurial/dispatch.py", line 958, in _dispatch
    +      cmdpats, cmdoptions)
    +    File "/tmp/hgtests.p14OA8/install/lib/python/mercurial/dispatch.py", line 715, in runcommand
    +      ret = _runcommand(ui, options, cmd, d)
    +    File "/tmp/hgtests.p14OA8/install/lib/python/hgext/zeroconf/__init__.py", line 205, in cleanupafterdispatch
    +      return orig(ui, options, cmd, cmdfunc)
    +    File "/tmp/hgtests.p14OA8/install/lib/python/mercurial/dispatch.py", line 966, in _runcommand
    +      return cmdfunc()
    +    File "/tmp/hgtests.p14OA8/install/lib/python/mercurial/dispatch.py", line 955, in <lambda>
    +      d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
    +    File "/tmp/hgtests.p14OA8/install/lib/python/mercurial/util.py", line 1537, in check
    +      return func(*args, **kwargs)
    +    File "/tmp/hgtests.p14OA8/install/lib/python/mercurial/commands.py", line 3789, in paths
    +      pathitems = sorted(ui.paths.iteritems())
    +    File "/tmp/hgtests.p14OA8/install/lib/python/mercurial/util.py", line 1421, in __get__
    +      result = self.func(obj)
    +    File "/tmp/hgtests.p14OA8/install/lib/python/mercurial/ui.py", line 848, in paths
    +      return paths(self)
    +    File "/tmp/hgtests.p14OA8/install/lib/python/mercurial/ui.py", line 1699, in __init__
    +      for name, loc in ui.configitems('paths', ignoresub=True):
    +    File "/tmp/hgtests.p14OA8/install/lib/python/mercurial/extensions.py", line 359, in closure
    +      return func(*(args + a), **kw)
    +    File "/tmp/hgtests.p14OA8/install/lib/python/hgext/zeroconf/__init__.py", line 184, in configitems
    +      repos += getzcpaths()
    +  TypeError: unsupported operand type(s) for +=: 'generator' and 'generator'
    +  [1]
     
       $ cd ..
     
    
    ERROR: test-paths.t output changed

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D2678

To: rdamazio, #hg-reviewers, durin42, pulkit
Cc: mharbison72, spectral, pulkit, mercurial-devel


More information about the Mercurial-devel mailing list