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