FWIW, I agree. Žiga, could you please file an issue in our tracker for
this? If you've got time to whip up a little shell script that
reproduces the problem, that'd be great, too.
Now, the obvious follow-up question is: "What *should* Subversion have
done in this situation?" Should the revert have errored out saying that
the operation was obstructed? Should only the delete scheduling have
been reverted, leaving your new files to appear merely as modifications
to the existing versioned files? Should a full reversion have happened,
but with your new files renamed to something else instead of being
overwritten?
(I'm kinda partial to the second one there -- revert only the delete
scheduling.)
Žiga Osolin wrote:
> I deleted some files, then I placed new files (the same name upon them)
> and then I said revert, and SVN has overwritten the files. I think SVN
> should check if files exist before rewriting with the files last commited.
>
> Regards,
> Žiga
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org
>
--
C. Michael Pilato <cmpilato@collab.net>
CollabNet <> www.collab.net <> Distributed Development On Demand
Received on Mon Dec 18 17:26:21 2006