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

AW: "svn revert --depth=files"

From: Markus Schaber <m.schaber_at_3s-software.com>
Date: Fri, 9 Sep 2011 14:20:28 +0200

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.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:21:15 CEST

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.