Mercurial > hg
comparison tests/test-debugcommands.t @ 46821:e8ae91b1a63d
rhg: raise wdir specific error for `hg debugdata`
Helps remove the conditional in `test-debugcommands.t` for rhg.
Differential Revision: https://phab.mercurial-scm.org/D10254
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Tue, 23 Mar 2021 19:58:49 +0530 |
parents | 5a2212d40398 |
children | 84a93fa7ecfd |
comparison
equal
deleted
inserted
replaced
46820:821929d59e01 | 46821:e8ae91b1a63d |
---|---|
529 $ touch .hg/unlock | 529 $ touch .hg/unlock |
530 $ wait | 530 $ wait |
531 | 531 |
532 Test WdirUnsupported exception | 532 Test WdirUnsupported exception |
533 | 533 |
534 #if no-rhg | |
535 $ hg debugdata -c ffffffffffffffffffffffffffffffffffffffff | 534 $ hg debugdata -c ffffffffffffffffffffffffffffffffffffffff |
536 abort: working directory revision cannot be specified | 535 abort: working directory revision cannot be specified |
537 [255] | 536 [255] |
538 #else | |
539 TODO: add rhg support for (at least parsing) the working directory pseudo-changeset | |
540 $ hg debugdata -c ffffffffffffffffffffffffffffffffffffffff | |
541 abort: working directory revision cannot be specified (missing-correct-output !) | |
542 abort: invalid revision identifier: ffffffffffffffffffffffffffffffffffffffff (known-bad-output !) | |
543 [255] | |
544 #endif | |
545 | 537 |
546 Test cache warming command | 538 Test cache warming command |
547 | 539 |
548 $ rm -rf .hg/cache/ | 540 $ rm -rf .hg/cache/ |
549 $ hg debugupdatecaches --debug | 541 $ hg debugupdatecaches --debug |