# HG changeset patch
# User Martin von Zweigbergk <martinvonz@google.com>
# Date 2019-04-05 18:22:26
# Node ID 50b69c08651b2fc29db36fd84ddecfacc49bd32f
# Parent  b8c2dc367cc3cd1c32c2d4096a90726b34bbc376

tests: demonstrate broken pull of "ffffffffffff" revision

Differential Revision: https://phab.mercurial-scm.org/D6214

diff --git a/tests/test-pull.t b/tests/test-pull.t
--- a/tests/test-pull.t
+++ b/tests/test-pull.t
@@ -75,6 +75,13 @@ not are encoded like a node:
   abort: unknown revision 'xxxxxxxxxxxxxxxxxx y'!
   [255]
 
+Test pull of working copy revision
+BROKEN: should give a better error message
+  $ hg pull -r 'ffffffffffff'
+  pulling from http://foo@localhost:$HGPORT/
+  abort: b2a_hex() argument 1 must be string or buffer, not None!
+  [255]
+
 Issue622: hg init && hg pull -u URL doesn't checkout default branch
 
   $ cd ..