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

Re: Bug? On export of a file, the file is exported but not renamed/moved to the desired name/location.

From: Daniel Becroft <djcbecroft_at_gmail.com>
Date: Tue, 13 Apr 2010 06:18:58 +1000

On Mon, Apr 12, 2010 at 11:44 PM, Francois Grieu <fgrieu_at_gmail.com> wrote:

> On 12/04/2010 12:28, Daniel Becroft a écrit :
>
> On Mon, Apr 12, 2010 at 5:56 PM, Francois Grieu <fgrieu_at_gmail.com> wrote:
>
>> Hi,
>>
>> I'm trying to export a single source file of a former revision from a
>> project, to local directory C:\rrr\sss, and get:
>> Command: Export
>> Error: Can't move 'C:\rrr\tempfile.tmp' to 'C:\rrr\sss': Accès refusé.
>> Finished!:
>>
>> The error means "access denied". The target system is a French XP SP3,
>> with Tortoise SVN 1.67. Here is exactly what I'm doing:
>> - logged with full rights
>> - create directory C:\rrr and sub-directory C:\rrr\sss
>> - tortoiseSVN repo browser
>> - navigate in repository browser to
>> file:///S:/blah/blah_repo/trunk/sources [on a SMB share]
>> - select line with file mysource.c
>> - right-click / show log
>> - select line with the revision I want (250)
>> - right-click / export; URL of repository is
>> file:///S:/blah/blah_repo/trunk/sources/mysource.c
>> - click on ... button for Export directory, navigate to C:\rrr\sss ,OK;
>> Export directory is C:\rrr\sss
>>
>
> Try specifying C:\rrr\sss\mysource.c in the "Export directory" field,
> rather than just \sss. I know, its a build counterintuitive.
>
>
>
> It does not work. I get:
> Command: Export
> Error: Can't move 'C:\rrr\sss\tempfile.tmp' to 'C:\rrr\sss\mysource.c':
> Accès refusé.
> Finished!
> and I'm left with the FILE tempfile.tmp into C:\rrr\sss [rather than into
> C:\rrr previously] and a new DIRECTORY mysource.c into C:\rrr\sss [this
> directory is created by Tortoise SVN during the export]. IMHO, having to key
> a FILE path in a field named "Export DIRECTORY" would be beyond
> counterintuitive anyway.
>

My apologies - I suggested using that approach as it works on the
command-line. The command-line seems to treat the "to" directory as a
file/direcctory, depending on what the URL is - maybe TortoiseSVN could do
the same?

> It looks to me that export of a file thru the User Interface that I'm
> describing is broken (mildly; again it works except not under the right file
> name and into an export directory that is the parent of what I specify). I
> can't find an alternate UI. There is no error if I export a directory using
> the same UI (although I was at first surprised to get each file in the
> specified Export directory, rather than into a new directory with the files
> created in the export directory).
>

The other option you can use is to right-click on the file in the Repository
Browser, and use the Save As (instead of Export) option.

Regards,
Daniel B

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2579398

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-04-12 22:19:18 CEST

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.