129 $ hg ci --amend |
129 $ hg ci --amend |
130 saved backup bundle to $TESTTMP/repo/.hg/strip-backup/81fce7de1b7d-05339e5b-amend.hg |
130 saved backup bundle to $TESTTMP/repo/.hg/strip-backup/81fce7de1b7d-05339e5b-amend.hg |
131 $ hg phabsend -r . -m "Address review comments" --test-vcr "$VCR/phabsend-comment-updated.json" |
131 $ hg phabsend -r . -m "Address review comments" --test-vcr "$VCR/phabsend-comment-updated.json" |
132 D1253 - updated - 1acd4b60af38: create comment for phabricator test |
132 D1253 - updated - 1acd4b60af38: create comment for phabricator test |
133 |
133 |
|
134 Phabreading a DREV with a local:commits time as a string: |
|
135 BROKEN: shouldn't error |
|
136 $ hg phabread --test-vcr "$VCR/phabread-str-time.json" D1285 |
|
137 ** unknown exception encountered, please report by visiting |
|
138 ** https://mercurial-scm.org/wiki/BugTracker |
|
139 ** Python * (glob) |
|
140 ** Mercurial Distributed SCM (version *) (glob) |
|
141 ** Extensions loaded: phabricator |
|
142 Traceback (most recent call last): |
|
143 File "*/install/bin/hg", line *, in <module> (glob) |
|
144 dispatch.run() |
|
145 File "*/install/lib/python/mercurial/dispatch.py", line *, in run (glob) |
|
146 status = dispatch(req) |
|
147 File "*/install/lib/python/mercurial/dispatch.py", line *, in dispatch (glob) |
|
148 ret = _runcatch(req) or 0 |
|
149 File "*/install/lib/python/mercurial/dispatch.py", line *, in _runcatch (glob) |
|
150 return _callcatch(ui, _runcatchfunc) |
|
151 File "*/install/lib/python/mercurial/dispatch.py", line *, in _callcatch (glob) |
|
152 return scmutil.callcatch(ui, func) |
|
153 File "*/install/lib/python/mercurial/scmutil.py", line *, in callcatch (glob) |
|
154 return func() |
|
155 File "*/install/lib/python/mercurial/dispatch.py", line *, in _runcatchfunc (glob) |
|
156 return _dispatch(req) |
|
157 File "*/install/lib/python/mercurial/dispatch.py", line *, in _dispatch (glob) |
|
158 cmdpats, cmdoptions) |
|
159 File "*/install/lib/python/mercurial/dispatch.py", line *, in runcommand (glob) |
|
160 ret = _runcommand(ui, options, cmd, d) |
|
161 File "*/install/lib/python/mercurial/dispatch.py", line *, in _runcommand (glob) |
|
162 return cmdfunc() |
|
163 File "*/install/lib/python/mercurial/dispatch.py", line *, in <lambda> (glob) |
|
164 d = lambda: util.checksignature(func)(ui, *args, **strcmdopt) |
|
165 File "*/install/lib/python/mercurial/util.py", line *, in check (glob) |
|
166 return func(*args, **kwargs) |
|
167 File "*/install/lib/python/hgext/phabricator.py", line *, in inner (glob) |
|
168 return fn(*args, **kwargs) |
|
169 File "*/install/lib/python/hgext/phabricator.py", line *, in phabread (glob) |
|
170 readpatch(repo, drevs, ui.write) |
|
171 File "*/install/lib/python/hgext/phabricator.py", line *, in readpatch (glob) |
|
172 meta = getdiffmeta(diffs[b'%d' % diffid]) |
|
173 File "*/install/lib/python/hgext/phabricator.py", line *, in getdiffmeta (glob) |
|
174 meta[b'date'] = b'%d 0' % commit[b'time'] |
|
175 TypeError: %d format: a number is required, not str |
|
176 [1] |
|
177 |
134 $ cd .. |
178 $ cd .. |