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

Re: segmentation fault with `svn copy'

From: Faheem Mitha <faheem_at_email.unc.edu>
Date: 2003-06-02 18:53:02 CEST

On Mon, 2 Jun 2003 12:41:06 -0400 (EDT), Faheem Mitha
<faheem@email.unc.edu> wrote:
 
> Dear People,
>
> I just thought I would report this small thing, on the assumption that a
> program should never segfault no matter what stupidity I commit. :-)
>
> Inside any working copy (as far as I can see), create a directory foo
> using mkdir. Then do
>
> svn cp foo bar. You will get a segfault.
>
> faheem ~/cotmp/mg-ro>mkdir bar
> faheem ~/cotmp/mg-ro>svn cp bar foo
> Segmentation fault
>
> Perhaps an appropriate error message would be more useful. Ie. `directory
> not under version control'?

This behaves correctly on files.

faheem ~/cotmp/mg-ro/trunk>touch foo
faheem ~/cotmp/mg-ro/trunk>svn cp foo bar
svn: Tried a versioning operation on an unversioned resource
svn: Cannot copy or move 'foo' -- it's not under revision control

                                                        Faheem.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Jun 2 18:57:15 2003

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.