mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 17:27:53 +03:00
c8ff620c56
For filelogs, debugindex and debugdata can be called with the file name directly instead of the path to the revlog. Since in the future filelogs will no longer be valid revlogs, calling with a path to the revlog is deprecated for debugdata. For debugindex it is expected to still work, but I changed them as well for consistency.
22 lines
438 B
Raku
22 lines
438 B
Raku
Issue351: mq: qrefresh can create extra revlog entry
|
|
|
|
$ echo "[extensions]" >> $HGRCPATH
|
|
$ echo "mq=" >> $HGRCPATH
|
|
|
|
$ hg init
|
|
$ hg qinit
|
|
|
|
$ echo b > b
|
|
$ hg ci -A -m foo
|
|
adding b
|
|
|
|
$ echo cc > b
|
|
$ hg qnew -f foo.diff
|
|
$ echo b > b
|
|
$ hg qrefresh
|
|
|
|
$ hg debugindex b
|
|
rev offset length base linkrev nodeid p1 p2
|
|
0 0 3 0 0 1e88685f5dde 000000000000 000000000000
|
|
|