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

Re: Bug? "svn up" gets confused if repo has a property change, and the file was rm'd from the wc.

From: Aleksey Nogin <aleksey_at_nogin.org>
Date: 2005-10-07 09:08:17 CEST

On 06.10.2005 23:20, Peter N. Lundblad wrote:

> On Thu, 6 Oct 2005, Aleksey Nogin wrote:
>
>
>>I just came across the following unfortunate problem:
>>
>>A recent commit have changed the properties (svn:mime-type was removed)
>>on a file "foo". Meanwhile a wc that has not yet updated to that
>>revision had the file "foo" removed (with "svn rm --force"). Now I see
>>the following when doing "svn up" in that wc:
>>
>>svn: In directory 'xyz'
>>svn: Error processing command 'set-timestamp' in 'xyz'
>>svn: Can't set access time of 'xyz/foo': No such file or directory
>>
>
> I can't seem to reproduce this with 1.3.x. Can you post a complete recipe
> so we know that we do the same things?

% svnadmin create /tmp/test

% svn co file:///tmp/test wc1
Checked out revision 0.

% touch wc1/foo

% svn add wc1/foo
A wc1/foo

% svn ps svn:mime-type application/foo wc1/foo
property 'svn:mime-type' set on 'wc1/foo'

% svn ci -m "" wc1/foo
Adding (bin) wc1/foo
Transmitting file data .
Committed revision 1.

% svn co file:///tmp/test wc2
A wc2/foo
Checked out revision 1.

% svn rm --force wc2/foo
D wc2/foo

% svn pd svn:mime-type wc1/foo
property 'svn:mime-type' deleted from 'wc1/foo'.

% svn ci -m "" wc1/foo
Sending wc1/foo

Committed revision 2.

% svn up wc2
  U wc2/foo
svn: In directory 'wc2'
svn: Error processing command 'set-timestamp' in 'wc2'
svn: Can't set access time of 'wc2/foo': No such file or directory

-- 
Aleksey Nogin
Home Page: http://nogin.org/
E-Mail: nogin@cs.caltech.edu (office), aleksey@nogin.org (personal)
Office: Moore 04, tel: (626) 395-2200
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Oct 7 09:09:07 2005

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.