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

Re: Possible bug delete and revert

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: 2006-12-18 17:26:00 CET

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

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.