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

Re: svn diff -rHEAD empty when file is locked (bug?)

From: Ed Price <ed.price_at_gmail.com>
Date: 2006-10-25 22:29:00 CEST

> > svn diff -rHEAD seems to report no diff even though there is one, when the
> > file is locked.
[...]
> > VERSIONS : svn 1.3.2 compiled from source on Linux i386 RHEL 3. (I will
> > try to compile 1.4 to see if the problem persists)
>
> I can't reproduce this with a trunk client. Can you try with 1.4, and
> if you can reproduce it, could you please provide a set of commands
> that show the problem starting from an empty repository? That would
> make it much easier to debug.

I tried reproducing this with 1.3.2 and 1.4.0; looks like it is fixed in 1.4.0.

My script was:

svnadmin create repos
svn co file://`pwd`/repos wc
cd wc
touch foo
svn add foo
svn ci -m ""
svn lock foo
echo "change" > foo
svn diff -rHEAD foo

With 1.3.2 it does not show any diff.
With 1.4.0 it correctly shows"+change" diff.

-Ed

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Oct 25 22:29:55 2006

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

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