Hi,
In a working copy, "svn delete" a directory which contains files.
Then do "svn revert --depth=files path/to/directory".
As far as I can remember, this did revert the directory as well as the
deleted files in SVN 1.6.
It only reverts the deleted directory in SVN 1.
--depth=immediates properly reverts all children of the deleted directory.
Markus Schaber wrote on Fri, Sep 09, 2011 at 14:06:21 +0200:
> Hi,
>
> In a working copy, "svn delete" a directory which contains files.
>
> Then do "svn revert --depth=files path/to/di
Hi, Daniel,
It even is more strange: If I do "svn revert --depth=files foo/bar foo",
then only the directory foo is reverted, and the file bar is not
restored.
Von: Daniel Shahaf [mailto:d...@daniel.shahaf.name]
>
> --depth=immediates properly reverts all children of the deleted
Markus Schaber wrote on Fri, Sep 09, 2011 at 14:20:28 +0200:
> Von: Daniel Shahaf [mailto:d...@daniel.shahaf.name]
> >
> > --depth=immediates properly reverts all children of the deleted
> > directory.
>
> But this also restores sibling directories to the file I want to
> restore, right?
Of cour
Hi,
Von: Markus Schaber [mailto:m.scha...@3s-software.com]
> It even is more strange: If I do "svn revert --depth=files foo/bar
foo",
> then only the directory foo is reverted, and the file bar is not
restored.
This also displays no warning that foo/bar is ignored.
In additi