Re: [PATCH] Change test suite to read file properties in XML format [was: Re: cvs2svn test suite breakage caused by svn changes]
James Abbatiello <[email protected]>
| Newsgroups | gmane.comp.version-control.subversion.cvs2svn.devel |
|---|---|
| Message-ID | <[email protected]> |
On Sun, Jul 26, 2009 at 12:02 PM, Michael Haggerty<[email protected]> wrote: > The only difference I would expect compared to the old code is that the > old code handled end-of-lines unusually, which I presume was a > side-effect of having to parse the text output of "svn proplist". I > think that what the new code does is the "right thing", but *if* there > are problems they are likely to appear under Windows, which I don't have > available for testing. On Windows the old code produces: >>> svntest.tree.get_props(['svntest']) {'svntest': {'svn:ignore': '*.pyc\n*.o\n*~\n.*~\n\n'}} And the new version produces: >>> svntest.tree.get_props(['svntest']) {u'svntest': {u'svn:ignore': u'*.pyc\r\n*.o\r\n*~\r\n.*~\r\n\r\n'}} So it looks like some line-ending manipulation is still needed unless the consumers are prepared to handle both forms. -- James Abbatiello ------------------------------------------------------ http://cvs2svn.tigris.org/ds/viewMessage.do?dsForumId=1667&dsMessageId=2375716 To unsubscribe from this discussion, e-mail: [[email protected]].