Show More
@@ -238,8 +238,9 b' def vcrcommand(name, flags, spec, helpca' | |||
|
238 | 238 | |
|
239 | 239 | def decorate(fn): |
|
240 | 240 | def inner(*args, **kwargs): |
|
241 |
|
|
|
242 | cassette = pycompat.fsdecode(kwargs.pop('test_vcr')) | |
|
241 | vcr = kwargs.pop('test_vcr') | |
|
242 | if vcr: | |
|
243 | cassette = pycompat.fsdecode(vcr) | |
|
243 | 244 | import hgdemandimport |
|
244 | 245 | |
|
245 | 246 | with hgdemandimport.deactivated(): |
@@ -24,16 +24,9 b'' | |||
|
24 | 24 | > EOF |
|
25 | 25 | $ VCR="$TESTDIR/phabricator" |
|
26 | 26 | |
|
27 |
|
|
|
27 | debugcallconduit doesn't claim invalid arguments without --test-vcr: | |
|
28 | 28 |
|
|
29 | hg debugcallconduit: invalid arguments | |
|
30 | hg debugcallconduit METHOD | |
|
31 | ||
|
32 | call Conduit API | |
|
33 | ||
|
34 | options: | |
|
35 | ||
|
36 | (use 'hg debugcallconduit -h' to show more help) | |
|
29 | abort: config phabricator.url is required | |
|
37 | 30 | [255] |
|
38 | 31 | |
|
39 | 32 | Error is handled reasonably. We override the phabtoken here so that |
General Comments 0
You need to be logged in to leave comments.
Login now