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

martinvonz (Martin von Zweigbergk) phabricator at mercurial-scm.org
Mon Apr 8 14:50:42 EDT 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rHG50b69c08651b: tests: demonstrate broken pull of "ffffffffffff" 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

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



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


More information about the Mercurial-devel mailing list