changeset 37446:d46d4f14300a

tests: enter full hex hash in plain text in bundle part We were looking it up be prefix by repo.__getitem__, which I'm about to drop support for. It's easiest to just include the full hash in plain text. Differential Revision: https://phab.mercurial-scm.org/D3168
author Martin von Zweigbergk <martinvonz@google.com>
date Fri, 06 Apr 2018 13:11:40 -0700
parents cc4b569975ed
children 067e8d1178a2
files tests/test-bundle2-exchange.t
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-bundle2-exchange.t	Thu Apr 05 17:44:18 2018 -0700
+++ b/tests/test-bundle2-exchange.t	Fri Apr 06 13:11:40 2018 -0700
@@ -787,7 +787,7 @@
   >     enc = pushkey.encode
   >     part = bundler.newpart('pushkey')
   >     part.addparam('namespace', enc('phases'))
-  >     part.addparam('key', enc(pushop.repo['cd010b8cd998'].hex()))
+  >     part.addparam('key', enc('cd010b8cd998f3981a5a8115f94f8da4ab506089'))
   >     part.addparam('old', enc(str(0))) # successful update
   >     part.addparam('new', enc(str(0)))
   >     def fail(pushop, exc):