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

Re: svn commit: r12369 - in branches/1.1.x: . subversion/include subversion/libsvn_wc subversion/tests/clients/cmdline

From: <kfogel_at_collab.net>
Date: 2004-12-20 22:27:42 CET

Ben Reser <ben@reser.org> writes:
> > Merge r12117: Fix merges that replace directories.
> >
> > Approved by:
> > +1: breser, kfogel, jszakmeister
>
> I'm going to revert this change before we release 1.1.2 tomorrow. While
> this does fix this it exposes a revert bug that can't be fixed on 1.1.x
> because it requires wc format changes. Ultimately the changes that this
> allows to be applied can not be reverted.
>
> While technically you can already apply them by merging the delete and
> the add separately, I don't think many people are doing this. So I'd
> rather have things error out than have revert fail.
>
> How revert fails in this case is it appears to have worked, but reverts
> to the replaced version not the original version. This means changes
> won't be reflected properly. Fortunately, the wc is left in an
> uncommitable state so it's not possible to screw up the repo with this.
>
> Basically, I'd rather have us fail for the time being in a way that's
> recoverable than appear to work and fail in a way that's difficult to
> recover from or even know that we've failed.

Totally agree, glad you spotted this.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Dec 20 22:34:26 2004

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.