Hi,
Von: Markus Schaber [mailto:m.schaber_at_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 addition, if I do "svn revert foo/bar", it silently does nothing.
So to revert the file and the directory, I need to do "svn revert
--depth=files foo foo/bar". AFAIR,This seems to be in contrast to the
behavior of SVN 1.6 which brought an error message because bar was about
to be reverted twice.
This change in behavior breaks my CoDeSys integration - this is not a
problem, I'm just fixing it in my code, but it may break other scripts
and tools relying on the old behavior.
Thanks,
Markus
> Von: Daniel Shahaf [mailto:d.s_at_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?
>
> > 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/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.7, leaving the
files
> > > marked as deleted.
> > >
Best regards
Markus Schaber
___________________________
We software Automation.
3S-Smart Software Solutions GmbH
Markus Schaber | Developer
Memminger Str. 151 | 87439 Kempten | Germany | Tel. +49-831-54031-0 |
Fax +49-831-54031-50
Email: m.schaber@3s-software.com | Web: http://www.3s-software.com
CoDeSys internet forum: http://forum.3s-software.com
Download CoDeSys sample projects:
http://www.3s-software.com/index.shtml?sample_projects
Managing Directors: Dipl.Inf. Dieter Hess, Dipl.Inf. Manfred Werner |
Trade register: Kempten HRB 6186 | Tax ID No.: DE 167014915
Received on 2011-09-09 14:32:25 CEST