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

Re: rm -> ci -> cp bug?

From: Ryan Schmidt <subversion-2007b_at_ryandesign.com>
Date: 2007-04-06 03:19:11 CEST

On Apr 5, 2007, at 20:08, Miller, Eric wrote:

>> IMHO, this is not a bug. The directory <dir> is *really* missing
>> in this revision. If you want to copy . at a revision where <dir>
>> has been removed, you need to update it with "svn up".
>
> I know what you mean, but if you do a status after the commit nothing
> shows up as "missing".
>
> Sorry, I forgot to enumerate that step:
>
> svn del <dir>
> svn ci -m '' <dir>
> svn st -uN <----- shows *no* changes, nothing missing
> svn cp . <tag url> <----- fails with 'missing <dir>' error.
>
> There is a bug *somewhere* in there. I'm betting that the commit
> failed
> to update the parent container's meta-data.

As far as I know, a commit is not meant to update the parent
container's metadata. That's what the update command is for.

> Also - before you say do an update, consider this:
> I may be creating a tag (or branch) because I see some updates or
> conflicts coming and I just want an easy place to resume my edits. An
> update would be BAD.

Ah.

-- 
To reply to the mailing list, please use your mailer's Reply To All  
function
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Apr 6 03:19:56 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.