2011/9/9 Rüdiger Meier <sweet_...@gmx.de>:
> Hi,
>
>
> The subject says it.
>
> $ svn --version
> svn, version 1.6.17 (r1128011)
>
> $ svn st
> $ touch bla
> $ svn add bla
> A    bla
> $ rm bla
> $ svn st
> !    bla
> $ svn revert .
> $ svn st
> !    bla
>
>
> But this works:
> svn revert -R .
>

1. That is by design: revert operation by default is not recursive.

E.g. if I edit a file, calling "svn revert" on its parent directory
won't revert the file, and "svn revert . --depth infinity" will revert
it. You are observing the same for an added file.

Consider if you have changes some property on the directory (e.g.
svn:ignore or svn:mergeinfo) and want to revert it.  The only way is
to call "svn revert" on this directory, and that is why it should not
be recursive.

BTW, I tested your commands and behaviour in 1.7 is the same.

2. This thread belongs to the users@ list, not dev@.

Best regards,
Konstantin Kolinko

Reply via email to