Mercurial > hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
45812:976b26bdd0d8 | 45813:57dc78861196 |
---|---|
89 $ rhg debugdata -m 2 | 89 $ rhg debugdata -m 2 |
90 file1\x00b8e02f6433738021a065f94175c7cd23db5f05be (esc) | 90 file1\x00b8e02f6433738021a065f94175c7cd23db5f05be (esc) |
91 file2\x005d9299349fc01ddd25d0070d149b124d8f10411e (esc) | 91 file2\x005d9299349fc01ddd25d0070d149b124d8f10411e (esc) |
92 file3\x002661d26c649684b482d10f91960cc3db683c38b4 (esc) | 92 file3\x002661d26c649684b482d10f91960cc3db683c38b4 (esc) |
93 | 93 |
94 Debuging with full node id | |
95 $ rhg debugdata -c `hg log -r 0 -T '{node}'` | |
96 c8e64718e1ca0312eeee0f59d37f8dc612793856 | |
97 test | |
98 0 0 | |
99 file1 | |
100 | |
101 commit 1 (no-eol) | |
102 | |
94 Cat files | 103 Cat files |
95 $ cd $TESTTMP | 104 $ cd $TESTTMP |
96 $ rm -rf repository | 105 $ rm -rf repository |
97 $ hg init repository | 106 $ hg init repository |
98 $ cd repository | 107 $ cd repository |