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

Apply diff patch to current file

Expand Messages
  • Егор
    I have patch, generated by svn diff. How can I apply it using Vim? -- -- You received this message from the vim_use maillist. Do not top-post! Type your
    Message 1 of 2 , Jun 21, 2013
    • 0 Attachment
      I have patch, generated by svn diff. How can I apply it using Vim?

      --
      --
      You received this message from the "vim_use" 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_use" group.
      To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@....
      For more options, visit https://groups.google.com/groups/opt_out.
    • Christian Brabandt
      ... If the diff contains only parts for the current file, you can use the ... directly to apply patches. See :h :diffpatch regards, Christian -- -- You
      Message 2 of 2 , Jun 21, 2013
      • 0 Attachment
        On Fri, June 21, 2013 11:06, Егор wrote:
        > I have patch, generated by svn diff. How can I apply it using Vim?
        >

        If the diff contains only parts for the current file, you can use the
        :diffpatch command. I have never used it, since I usually use patch
        directly to apply patches.

        See :h :diffpatch

        regards,
        Christian

        --
        --
        You received this message from the "vim_use" 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_use" group.
        To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@....
        For more options, visit https://groups.google.com/groups/opt_out.
      Your message has been successfully submitted and would be delivered to recipients shortly.