On Fri, May 08, 2009 at 03:40:31PM +0530, Senthil Kumaran S wrote:
> Alan Wood wrote:
> > Hi All,
> > Just been trying to write tests for the first time ( in subversion that is ).
> > In the process I came across a seg fault when doing a svn copy wc to url.
> > There seems to be no check to see if a wc file exists before libsvn_client\copy.c line
> > 1096 where it crashes on entry == NULL
> > SVN_ERR(svn_wc_entry(&entry, pair->src, adm_access,
> > FALSE, iterpool));
> > pair->src_revnum = entry->revision;
> Yes this is a bug. Alan, are planning to come up with a patch for the same?
FWIW, this does not reproduce with 1.5.1:
$ svn cp not_a_file svn:///tmp/svn-sandbox/repos/
svn: '.' is not a working copy
svn: Can't open file '.svn/entries': No such file or directory
$ svn --version
svn, version 1.5.1 (r32289)
(No, I have no dev build at the moment...)
Received on 2009-05-08 12:32:27 CEST