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

Re: [Bug 343] New - Problems with multiple additions

From: Ben Collins-Sussman <sussman_at_newton.ch.collab.net>
Date: 2001-03-29 16:48:14 CEST

Kevin Pilch-Bisson <kevin@pilch-bisson.net> writes:

> > Then this is a user-interface issue, I suppose: should the 'svn add'
> > command contact the repository immediately to determine if there's a
> > conflict? I don't think it should. I've always been annoyed that CVS
> > does this when you add a directory.
>
> I was thinking of looking at SVN/entries, to see if there was already
> an entry there. The commit should have removed the add="true" part, no?
> Thus we can see if it is already in the tree or not, at add time,
> without talking to the repository.

Oh! Duh. Right. We can certainly do that. :)

But note that this checking the entries file isn't perfect; it still
won't protect you from a conflict if your working copy is out-of-date.
Received on Sat Oct 21 14:36:26 2006

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