##// END OF EJS Templates
httppeer: expose API descriptor on httpv2peer...
httppeer: expose API descriptor on httpv2peer The API descriptor in wireprotov2 is much more expressive than space-delimited tokens and it will be difficult to define methods to query it in all of the ways we'll want to query it. So let's just declare defeat and expose the API descriptor on the peer instance. As part of this, we define a new interface for version 2 peers, fulfilling a TODO in the process. Differential Revision: https://phab.mercurial-scm.org/D4974

File last commit:

r34941:c2b30348 stable
r40207:dac438b7 default
Show More
test-dirstate-backup.t
18 lines | 259 B | text/troff | Tads3Lexer
/ tests / test-dirstate-backup.t
Mark Thomas
tests: add a test demonstrating failure to clean up dirstate backups...
r34940 Set up
$ hg init repo
$ cd repo
Try to import an empty patch
$ hg import --no-commit - <<EOF
> EOF
applying patch from stdin
abort: stdin: no diffs found
[255]
Mark Thomas
dirstate: clean up when restoring identical backups...
r34941 No dirstate backups are left behind
Mark Thomas
tests: add a test demonstrating failure to clean up dirstate backups...
r34940
$ ls .hg/dirstate* | sort
.hg/dirstate