D5800: config: introduce a new value for ui.relative-paths getting old behavior

mharbison72 (Matt Harbison) phabricator at mercurial-scm.org
Tue Feb 5 23:50:23 EST 2019


mharbison72 added a comment.


  Maybe a py3 thing?
  
    $ py -3 run-tests.py --local test-http.t
    running 1 tests using 1 parallel processes
    
    --- c:/Users/Matt/hg/tests/test-http.t
    +++ c:/Users/Matt/hg/tests/test-http.t.err
    @@ -1,58 +1,262 @@
     #require serve
    
       $ hg init test
    +  ** unknown exception encountered, please report by visiting
    +  ** https://mercurial-scm.org/wiki/BugTracker
    +  ** Python 3.7.1 (v3.7.1:260ec2c36a, Oct 20 2018, 14:57:15) [MSC v.1915 64 bit (AMD64)]
    +  ** Mercurial Distributed SCM (version 4.9+253-acd3eda2aa5b)
    +  ** Extensions loaded:
    +  Traceback (most recent call last):\r (esc)
    +    File "c:\\Users\\Matt\\hg\\hg", line 43, in <module>\r (esc)
    +      dispatch.run()\r (esc)
    +    File "c:\\Users\\Matt\\hg\\mercurial\\dispatch.py", line 99, in run\r (esc)
    +      status = dispatch(req)\r (esc)
    +    File "c:\\Users\\Matt\\hg\\mercurial\\dispatch.py", line 225, in dispatch\r (esc)
    +      ret = _runcatch(req) or 0\r (esc)
    +    File "c:\\Users\\Matt\\hg\\mercurial\\dispatch.py", line 376, in _runcatch\r (esc)
    +      return _callcatch(ui, _runcatchfunc)\r (esc)
    +    File "c:\\Users\\Matt\\hg\\mercurial\\dispatch.py", line 384, in _callcatch\r (esc)
    +      return scmutil.callcatch(ui, func)\r (esc)
    +    File "C:\\Program Files\\Python37\\Lib\\importlib\\util.py", line 245, in __getattribute__\r (esc)
    +      self.__spec__.loader.exec_module(self)\r (esc)
    +    File "<frozen importlib._bootstrap_external>", line 724, in exec_module\r (esc)
    +    File "<frozen importlib._bootstrap_external>", line 860, in get_code\r (esc)
    +    File "c:\\Users\\Matt\\hg\\mercurial\\__init__.py", line 295, in source_to_code\r (esc)
    +      return super(hgloader, self).source_to_code(data, path)\r (esc)
    +    File "<frozen importlib._bootstrap_external>", line 791, in source_to_code\r (esc)
    +    File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed\r (esc)
    +    File "c:\\Users\\Matt\\hg\\mercurial\\scmutil.py", line 741\r (esc)
    +          """""\r (esc)
    +  SyntaxError: cannot mix bytes and nonbytes literals\r (esc)
    +  [1]
       $ cd test

REPOSITORY
  rHG Mercurial

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

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


More information about the Mercurial-devel mailing list