##// END OF EJS Templates
tests: show that debugrebuilddirstate is broken with narrow+sparse...
Pulkit Goyal -
r41184:76dcf795 default
parent child Browse files
Show More
@@ -65,3 +65,45 b' XXX: we should have a flag in `hg debugs'
65 sparserevlog
65 sparserevlog
66 store
66 store
67 treemanifest (tree !)
67 treemanifest (tree !)
68
69 $ hg debugrebuilddirstate
70 ** unknown exception encountered, please report by visiting
71 ** https://mercurial-scm.org/wiki/BugTracker
72 ** Python 2.7.12 (default, Nov 12 2018, 14:36:49) [GCC 5.4.0 20160609]
73 ** Mercurial Distributed SCM (version 4.8.1+588-479a5ea51ccc+20181224)
74 ** Extensions loaded: narrow, sparse
75 Traceback (most recent call last):
76 File "/place/vartmp/hgtests.zMelCK/install/bin/hg", line 43, in <module>
77 dispatch.run()
78 File "/place/vartmp/hgtests.zMelCK/install/lib/python/mercurial/dispatch.py", line 99, in run
79 status = dispatch(req)
80 File "/place/vartmp/hgtests.zMelCK/install/lib/python/mercurial/dispatch.py", line 225, in dispatch
81 ret = _runcatch(req) or 0
82 File "/place/vartmp/hgtests.zMelCK/install/lib/python/mercurial/dispatch.py", line 376, in _runcatch
83 return _callcatch(ui, _runcatchfunc)
84 File "/place/vartmp/hgtests.zMelCK/install/lib/python/mercurial/dispatch.py", line 384, in _callcatch
85 return scmutil.callcatch(ui, func)
86 File "/place/vartmp/hgtests.zMelCK/install/lib/python/mercurial/scmutil.py", line 166, in callcatch
87 return func()
88 File "/place/vartmp/hgtests.zMelCK/install/lib/python/mercurial/dispatch.py", line 367, in _runcatchfunc
89 return _dispatch(req)
90 File "/place/vartmp/hgtests.zMelCK/install/lib/python/mercurial/dispatch.py", line 1021, in _dispatch
91 cmdpats, cmdoptions)
92 File "/place/vartmp/hgtests.zMelCK/install/lib/python/mercurial/dispatch.py", line 756, in runcommand
93 ret = _runcommand(ui, options, cmd, d)
94 File "/place/vartmp/hgtests.zMelCK/install/lib/python/mercurial/dispatch.py", line 1030, in _runcommand
95 return cmdfunc()
96 File "/place/vartmp/hgtests.zMelCK/install/lib/python/mercurial/dispatch.py", line 1018, in <lambda>
97 d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
98 File "/place/vartmp/hgtests.zMelCK/install/lib/python/mercurial/util.py", line 1670, in check
99 return func(*args, **kwargs)
100 File "/place/vartmp/hgtests.zMelCK/install/lib/python/mercurial/debugcommands.py", line 1998, in debugrebuilddirstate
101 dirstate.rebuild(ctx.node(), ctx.manifest(), changedfiles)
102 File "/place/vartmp/hgtests.zMelCK/install/lib/python/hgext/narrow/narrowdirstate.py", line 60, in rebuild
103 super(narrowdirstate, self).rebuild(parent, allfiles, changedfiles)
104 File "/place/vartmp/hgtests.zMelCK/install/lib/python/mercurial/extensions.py", line 437, in closure
105 return func(*(args + a), **kw)
106 File "/place/vartmp/hgtests.zMelCK/install/lib/python/hgext/sparse.py", line 213, in _rebuild
107 allfiles = allfiles.matches(matcher)
108 AttributeError: 'list' object has no attribute 'matches'
109 [1]
General Comments 0
You need to be logged in to leave comments. Login now