[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: rev 5522 - in trunk/subversion: libsvn_client tests/clients/cmdline

From: Robert Pluim <rpluim_at_bigfoot.com>
Date: 2003-04-03 16:54:37 CEST

Michael Wood writes:
> On Thu, Apr 03, 2003 at 03:24:17PM +0200, Robert Pluim wrote:
> > I thought the same initially, then wondered if that took into account
> > lf vs crlf issues, so I played it safe ;-) (I don't have a windows
> > machine to test on).
>
> hmmm... I would have expected the line ending characters to have been
> stripped already, but I haven't looked at the code.
>

If I replace the regexp with:

    if 'svn: Filesystem has no item\n' == line:

the test continues to work. If I use

    if 'svn: Filesystem has no item' == line:

it fails, so the line ending is still there, however I don't know if
python represents line endings the same on different platforms.

-- 
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Apr 3 16:54:47 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.