mirror of
https://github.com/facebook/sapling.git
synced 2024-10-12 01:39:21 +03:00
13 lines
227 B
Perl
13 lines
227 B
Perl
|
Setup
|
||
|
|
||
|
$ hg init repo
|
||
|
$ cd repo
|
||
|
$ echo base > base
|
||
|
$ hg add base
|
||
|
$ hg commit -m "base"
|
||
|
|
||
|
Deliberately corrupt the dirstate.
|
||
|
|
||
|
$ dd if=/dev/zero bs=4096 count=1 of=.hg/dirstate 2> /dev/null
|
||
|
$ hg debugrebuilddirstate
|