You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Hadoop QA (JIRA)" <ji...@apache.org> on 2014/07/15 16:03:04 UTC

[jira] [Commented] (ZOOKEEPER-1966) VS and line breaks

    [ https://issues.apache.org/jira/browse/ZOOKEEPER-1966?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14062082#comment-14062082 ] 

Hadoop QA commented on ZOOKEEPER-1966:
--------------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12655770/ZOOKEEPER-1966.patch
  against trunk revision 1610468.

    +1 @author.  The patch does not contain any @author tags.

    -1 tests included.  The patch doesn't appear to include any new or modified tests.
                        Please justify why no new tests are needed for this patch.
                        Also please list what manual steps were performed to verify this patch.

    -1 patch.  The patch command could not apply the patch.

Console output: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/2192//console

This message is automatically generated.

> VS and line breaks
> ------------------
>
>                 Key: ZOOKEEPER-1966
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1966
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: c client
>    Affects Versions: 3.5.0
>         Environment: Windows, Visual Studio 2013 Build
>            Reporter: Orion Hodson
>            Assignee: Orion Hodson
>             Fix For: 3.5.0
>
>         Attachments: ZOOKEEPER-1966.patch
>
>
> The patch attached to https://issues.apache.org/jira/browse/ZOOKEEPER-1953 has caused problems for git users when committed from SVN.
> The attached patch simply changes the line endings of the offending files from CRLF to LF in the hope that when they are committed to SVN, the LF line endings end up as the canonical representation in the Apache ZooKeeper git repo.
> An interpretation of what's happened here is that svn has stored the CRLF line endings and these have been pushed into git by git-svn as described here: http://blog.subgit.com/line-endings-handling-in-svn-git-and-subgit/. Git clients are then confused as the text files have an unexpected representation in the repo.
> Experimentally VS is indifferent to line endings – ran dos2unix on the vcxproj and sln files and VS opened and closed the files without modifying them. This page seems to advertise the indifference to line endings and discusses selecting custom options: http://msdn.microsoft.com/en-us/library/dd409797.aspx.



--
This message was sent by Atlassian JIRA
(v6.2#6252)