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

Re: (possible) bug report.

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2002-09-19 20:36:10 CEST

Leandro Lucarella <llucar@mecon.gov.ar> writes:

> Hi! I'm using svn and I have a problem with one particular file and two
> particular lines on it.
> The lines are:
> $selected = '%s';
> $unselected = '%s';
>
> When I upload this two lines in the file, svn 'convert' them to this:
> border="0" alt="%s"></a>';
> es/he%s_f3.gif\',1)"><img name="he%s" src="%s/imagenes/he%s.gif" border="0" alt="%s"></a>';
>
> I'm using keyword expansion ("URL Author Date Rev"). svn version is a
> snapshot from Debian GNU/Linux unstable (subversion-snapshot):
> Subversion Client, version 0.14.0 (dev build)
> compiled Aug 16 2002, 14:35:50
>
> I'll attach the original file and the checked out so you can see them...
>
> PS: Please Cc me, I'm not on the list.

Yikes! This is a real bug.

$ svnadmin create repo
$ svn co file:///home/pm/repo wc
$ cp file.orig.php wc
$ svn add wc/file.orig.php
$ svn ps svn:keywords "URL Author Date Rev" wc/file.orig.php
$ diff file.orig.php wc
$ # no differences
$ svn ci wc
$ diff file.orig.php wc
$ # differences!

So commit has modified the working copy. If I enable neon debugging
and check-out over http then I see the truncated lines in the neon log

$ grep border neon.log
border="0" alt="%s"></a>';
es/he%s_f3.gif\',1)"><img name="he%s" src="%s/imagenes/he%s.gif" border="0" alt="%s"></a>';

This seems to indicate that we are sending incorrect data to the
repository :-(

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Sep 19 20:36:52 2002

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.