subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Sperling <s...@elego.de>
Subject Re: Problem with reverting
Date Thu, 02 Feb 2012 09:43:27 GMT
On Thu, Feb 02, 2012 at 08:24:47AM +0000, Markus Schaber wrote:
> I did create issue http://subversion.tigris.org/issues/show_bug.cgi?id=4109 for this
case.

Thanks!
 
> My personal wish would be that operations like revert and commit work
> for all constellations even with "--depth=empty" if we explicitly
> mention all affected files and directories,

That can be done. It requires reworking how the 'revert' operation
in libsvn_wc processes its arguments. We'd need to pass it a list,
rather than a single path and adapt the code to handle this properly.
This implies an API change so it can only be done for 1.8.

> and that "--depth=files" recreates the files when reverting a directory

You mean reverting individual files independently of their parent
directory? Not sure if this does or would work. In theory is could work.
The files would need to come from a different revision than the directory
on-disk, i.e. this would need to create a mixed-revision working copy.
I don't recall off-hand how mixed-revisionness is supposed to work in
newly added directories, though.

Mime
View raw message