[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: Francois Grieu <fgrieu_at_gmail.com>
Date: Thu, 15 Apr 2010 10:41:43 +0200

On 15/04/2010 01:16, Daniel Becroft wrote:
> On Thu, Apr 15, 2010 at 2:04 AM, Francois Grieu <fgrieu_at_gmail.com
> <mailto:fgrieu_at_gmail.com>> wrote:
>
> On 12/04/2010 22:18, Daniel Becroft wrote :
>> On Mon, Apr 12, 2010 at 11:44 PM, Francois Grieu
>> <fgrieu_at_gmail.com <mailto:fgrieu_at_gmail.com>> wrote:
>>
>> On 12/04/2010 12:28, Daniel Becroft wrote :
>>> On Mon, Apr 12, 2010 at 5:56 PM, Francois Grieu
>>> <fgrieu_at_gmail.com <mailto: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/directory, 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.
> Thanks for caring. That does works, but as far as I can tell only
> let me save the most recent version of the file.
>
>
> If you click on the button next to the Revision: label at the top
> right, you can change to a prior revision of the repository.

Indeed. Thanks for pointing that out. It works fine, as long as I know
the revision number. That's the best workaround.

> The GUI that I'm tentatively filing a bug report against is about
> getting a particular file from a (former) version selected by
> browsing the log.
>
>
> I'm not sure what your saying here - there's a "Save revision to"
> option for the files at the bottom of the Log window.

I'm saying that the designers of TortoiseSVN have specifically devised a
GUI to browse the repository, select a file, then browse the text of log
entries corresponding to changes in that file, then save that file as in
the revision selected in this way (rather than by revision number); and
that for some reason this useful feature is partially broken; I'd like
to report this bug, and the nice way to do that is to first have a
dicussion on that list to confirm the bug; I guess I have a consensus on
that, right ?

Note: I fail to find a "Save revision to" option or similar in the
window titled "Log messages", or how to get another Log window.

Regards,
   Francois Grieu

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-04-15 10:41:52 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.