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

Re: Is this supposed to work?

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2002-06-21 18:04:18 CEST

William Uther <will+@cs.cmu.edu> writes:

> Hi,
> Is this supposed to work, or is it one of those "we don't handle this"
> cases:
>
> svn mv b c; svn mv a b

Remember that 'mv' == 'cp (add) + rm'.

This is a bug (?) that I discovered a couple weeks ago. Well, I think
it's a bug. The simpler form of this problem is:

$ svn rm b; svn cp a b

subversion/libsvn_subr/io.c:205
apr_error: #13, src_err 0 : <Permission denied>
  svn_io_copy_file: copying .svn/text-base/a.svn-base to .svn/text-base/b.svn-base

That's the *real* bug. Something silly with read-only textbases. I'm
not sure I understand why we're trying to copy a's text-base on top of
b's text-base at all? If we allowed this to happen, the 'rm' wouldn't
be revertible...

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jun 21 18:06:09 2002

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.