Mercurial > hg
diff tests/test-rhg.t @ 45813:57dc78861196
rhg: add full node id support for `debugdata` command
Unlike other later implemented commands `debugdata` only supported revision
number. This changeset add full node id support for consistency with other
commands.
Differential Revision: https://phab.mercurial-scm.org/D9230
author | Antoine cezar<acezar@chwitlabs.fr> |
---|---|
date | Tue, 20 Oct 2020 15:09:08 +0200 |
parents | 6991f3014311 |
children | ead435aa5294 |
line wrap: on
line diff
--- a/tests/test-rhg.t Thu Oct 29 13:54:25 2020 +0100 +++ b/tests/test-rhg.t Tue Oct 20 15:09:08 2020 +0200 @@ -91,6 +91,15 @@ file2\x005d9299349fc01ddd25d0070d149b124d8f10411e (esc) file3\x002661d26c649684b482d10f91960cc3db683c38b4 (esc) +Debuging with full node id + $ rhg debugdata -c `hg log -r 0 -T '{node}'` + c8e64718e1ca0312eeee0f59d37f8dc612793856 + test + 0 0 + file1 + + commit 1 (no-eol) + Cat files $ cd $TESTTMP $ rm -rf repository