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

Re: bug in svn_client_copy wc to url

From: Senthil Kumaran S <senthil_at_collab.net>
Date: Fri, 08 May 2009 16:37:29 +0530

Alan Wood wrote:
>>> 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...)
>>
>> Stefan
>
> Sorry not to mention that the current directory is a working copy of the destination
> repository.

In both the cases 1.5.x works correctly,

<snip>
$ svn --version
svn, version 1.5.7 (dev build)
$ svn cp somefile file:///tmp/repos/filename -m "log msg"
svn: '.' is not a working copy
svn: Can't open file '.svn/entries': No such file or directory
$ pwd
/tmp
$ svn cp somefile file:///tmp/repos/filename -m "log msg"
svn: '.' is not a working copy
svn: Can't open file '.svn/entries': No such file or directory
$ pwd
/tmp/wc
</snip>

-- 
Senthil Kumaran S
http://www.stylesen.org/
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2110094
Received on 2009-05-08 13:08:16 CEST

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.