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

Re: svn status comes out empty

From: Andy Levy <andy.levy_at_gmail.com>
Date: Mon, 14 Feb 2011 22:57:37 -0500

On Mon, Feb 14, 2011 at 22:23, Ed <ed_at_kdtc.net> wrote:
> Hi,
>
> Can someone check if this is a bug?
>
> Script to reproduce:
>
> ~/test$ svnadmin create bar
> ~/test$ mkdir foo
> ~/test$ cd foo
> ~/test/foo$ svn co file:////path/to/bar
> ~/test/foo/bar$ echo "testing this file" > A.txt
> ~/test/foo/bar$ svn add A.txt
> ~/test/foo/bar$ svn ci A.txt -m "test"
> ~/test/foo/bar$ find -type f -exec sed -i 's/testing/running/g' {} \;
> ~/test/foo/bar$ svn status
> ~/test/foo/bar$
>
> But A.txt is changed.
>
> What should happen is
> M       A.txt
>
> What happens:
> Nothing.
>
> Is this what is supposed to happen?

Make sure that your find/sed combo is excluding .svn directories (for
some reason, I'm not able to run it on OS X). If you modify both the
"visible" file in the working copy AND the pristine copy of it,
Subversion won't detect the change.
Received on 2011-02-15 04:58:54 CET

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.