Loading ...
Sorry, an error occurred while loading the content.

71470Re: [PATCH] (9/7) Consistency and refactoring

Expand Messages
  • ZyX
    Jun 23, 2013
    • 0 Attachment
      > --- testdir/test87.failed 2013-06-23 14:45:47.000000000 +0200
      > +++ testdir/test87.ok 2013-06-23 14:43:28.000000000 +0200
      > @@ -1175,6 +1175,9 @@
      > 3,xx
      > before
      > after
      > +pythonx/topmodule/__init__.py
      > +pythonx/topmodule/submodule/__init__.py
      > +pythonx/topmodule/submodule/subsubmodule/subsubsubmodule.py
      > vim.command("throw 'abcN'"):(<class 'vim.error'>, error('abcN',))
      > Exe("throw 'def'"):(<class 'vim.error'>, error('def',))
      > vim.eval("Exe('throw ''ghi''')"):(<class 'vim.error'>, error('ghi',))


      This should be fixed with the following diff. Though with hg export --git (“fixed” version of the patch) it should not be necessary as empty files do appear in its output.

      # HG changeset patch
      # User ZyX <kp-pav@...>
      # Date 1371993246 -14400
      # Sun Jun 23 17:14:06 2013 +0400
      # Branch python-fixes
      # Node ID bec8c9e957010b4a87424de12456d7e98df8776c
      # Parent 3c21dc7cfad1f22855bd64b2a4a79d75cd36b1e3
      Use 2-bytes files with a comment in place of empty files

      diff --git a/src/testdir/pythonx/topmodule/__init__.py b/src/testdir/pythonx/topmodule/__init__.py
      --- a/src/testdir/pythonx/topmodule/__init__.py
      +++ b/src/testdir/pythonx/topmodule/__init__.py
      @@ -0,0 +1,1 @@
      +#
      diff --git a/src/testdir/pythonx/topmodule/submodule/__init__.py b/src/testdir/pythonx/topmodule/submodule/__init__.py
      --- a/src/testdir/pythonx/topmodule/submodule/__init__.py
      +++ b/src/testdir/pythonx/topmodule/submodule/__init__.py
      @@ -0,0 +1,1 @@
      +#
      diff --git a/src/testdir/pythonx/topmodule/submodule/subsubmodule/__init__.py b/src/testdir/pythonx/topmodule/submodule/subsubmodule/__init__.py
      --- a/src/testdir/pythonx/topmodule/submodule/subsubmodule/__init__.py
      +++ b/src/testdir/pythonx/topmodule/submodule/subsubmodule/__init__.py
      @@ -0,0 +1,1 @@
      +#
      diff --git a/src/testdir/pythonx/topmodule/submodule/subsubmodule/subsubsubmodule.py b/src/testdir/pythonx/topmodule/submodule/subsubmodule/subsubsubmodule.py
      --- a/src/testdir/pythonx/topmodule/submodule/subsubmodule/subsubsubmodule.py
      +++ b/src/testdir/pythonx/topmodule/submodule/subsubmodule/subsubsubmodule.py
      @@ -0,0 +1,1 @@
      +#

      --
      --
      You received this message from the "vim_dev" maillist.
      Do not top-post! Type your reply below the text you are replying to.
      For more information, visit http://www.vim.org/maillist.php

      ---
      You received this message because you are subscribed to the Google Groups "vim_dev" group.
      To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscribe@....
      For more options, visit https://groups.google.com/groups/opt_out.
    • Show all 25 messages in this topic