Patchwork D6214: tests: demonstrate broken pull of "ffffffffffff" revision

login
register
mail settings
Submitter phabricator
Date April 8, 2019, 6:50 p.m.
Message ID <3ce7f800437c511ee42aeaaae199b561@localhost.localdomain>
Download mbox | patch
Permalink /patch/39539/
State Not Applicable
Headers show

Comments

phabricator - April 8, 2019, 6:50 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG50b69c08651b: tests: demonstrate broken pull of &quot;ffffffffffff&quot; revision (authored by martinvonz, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D6214?vs=14684&id=14695

REVISION DETAIL
  https://phab.mercurial-scm.org/D6214

AFFECTED FILES
  tests/test-pull.t

CHANGE DETAILS




To: martinvonz, #hg-reviewers
Cc: mercurial-devel

Patch

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 @@ 
   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 ..