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

Re: Bug in svn update?

From: Stefan Sperling <stsp_at_elego.de>
Date: 2007-10-09 14:27:25 CEST

On Tue, Oct 09, 2007 at 01:29:40PM +0200, Stefan Schulze wrote:
> > When you do an update, your the changes from the repository
> > get merged with your local changes. Your file now contains
> > changes from repository (content) plus it is marked for
> > deletion. When you commit, the file gets deleted.
>
> Wouldn't be reporting a conflict the right behavior?

Yes it would, but this is currently not implemented as
subversion only knows the concepts of "conflicts" with
respect to text inside files, not in terms of directory
structure conflicts and file additions and deletions.

It could be argued that this is basically a design error.
See
http://svn.collab.net/viewvc/svn/trunk/notes/tree-conflicts.txt?view=markup
for good descriptions of problems this is causing.

A fix is being worked on.

-- 
Stefan Sperling <stsp@elego.de>                 Software Developer
elego Software Solutions GmbH                            HRB 77719
Gustav-Meyer-Allee 25, Gebaeude 12        Tel:  +49 30 23 45 86 96 
13355 Berlin                              Fax:  +49 30 23 45 86 95
http://www.elego.de                 Geschaeftsfuehrer: Olaf Wagner

  • application/pgp-signature attachment: stored
Received on Tue Oct 9 14:28:19 2007

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.