Change temporary directory in repository browser

483 views
Skip to first unread message

Dieter Schmitz

unread,
May 31, 2012, 7:50:53 AM5/31/12
to us...@tortoisesvn.tigris.org
Hi,

as we are using tortoiseSVN on a terminal server (via a thin client) we are interested in the solution to check out and edit single files using the repository browser (Version 1.7.7). Server disc space is too expensive to check out the complete repository.

Changing files through the repository browser works fine.
But what happens, if a user closes the terminal server session without logging off? In my opinion the file is still locked and the changes are lost.

To release the lock is not a big deal. But we are loosing data in this case. That's a problem.

Is there a way to change the temporary directory while editing a file (currently the users %temp% directory)?

Thanks
Dieter

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

To unsubscribe from this discussion, e-mail: [users-un...@tortoisesvn.tigris.org].

Andy Levy

unread,
Jun 1, 2012, 8:33:22 PM6/1/12
to us...@tortoisesvn.tigris.org
On Thu, May 31, 2012 at 7:50 AM, Dieter Schmitz
<Dieter.Sc...@devk.de> wrote:
> Hi,
>
> as we are using tortoiseSVN on a terminal server (via a thin client) we are interested in the solution to check out and edit single files using the repository browser (Version 1.7.7). Server disc space is too expensive to check out the complete repository.

You do not have to check out the complete repository. You can check
out a single directory.

> Changing files through the repository browser works fine.
> But what happens, if a user closes the terminal server session without logging off? In my opinion the file is still locked and the changes are lost.

The best way to find out is to try it. Have you done so?

> To release the lock is not a big deal. But we are loosing data in this case. That's a problem.

That is a risk anytime you start using something in a way that wasn't
intended or anticipated.

> Is there a way to change the temporary directory while editing a file (currently the users %temp% directory)?

This sounds like you're just relocating and/or potentially delaying
the same problem.

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

Dieter Schmitz

unread,
Jun 4, 2012, 2:33:32 AM6/4/12
to us...@tortoisesvn.tigris.org
Hi Andy,

thanks for your reply.

Just to describe our terminal server configuration:
We are using a lot of terminal servers. The locally cached user profiles will be deleted after the user logs off. This is a normal behavior in big terminal server environments. If a user disconnects a session, it will be automatically terminated after 20 minutes.
If you edit a file through the repository browser, the file will be checked out to the users %temp% directory. This is OK for systems where the user profile will not be deleted after log off (e.g. fat clients). For terminal server it is mandatory to change the temporary check out directory (just to avoid data loss).

If the temporary directory can be configured, it could be redirected to the users home directory and no data will be lost.

So anybody an idea how to solve this?

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

Markus Schaber

unread,
Jun 4, 2012, 2:38:21 AM6/4/12
to us...@tortoisesvn.tigris.org, Dieter.Sc...@devk.de
Hi, Dieter,

> Von: Dieter Schmitz [mailto:Dieter.Sc...@devk.de]

> Just to describe our terminal server configuration:
> We are using a lot of terminal servers. The locally cached user profiles
> will be deleted after the user logs off. This is a normal behavior in big
> terminal server environments. If a user disconnects a session, it will be
> automatically terminated after 20 minutes.
> If you edit a file through the repository browser, the file will be
> checked out to the users %temp% directory. This is OK for systems where
> the user profile will not be deleted after log off (e.g. fat clients). For
> terminal server it is mandatory to change the temporary check out
> directory (just to avoid data loss).
>
> If the temporary directory can be configured, it could be redirected to
> the users home directory and no data will be lost.
>
> So anybody an idea how to solve this?

Honestly, I think you're using the wrong workflow here.

Your users should check out just that file (can be done via sparse checkout) into a normal working copy in their home directories, and work with that.

Best regards

Markus Schaber
--
___________________________
We software Automation.

3S-Smart Software Solutions GmbH
Markus Schaber | Developer
Memminger Str. 151 | 87439 Kempten | Germany | Tel. +49-831-54031-0 | Fax +49-831-54031-50

Email: m.sc...@3s-software.com | Web: http://www.3s-software.com
CoDeSys internet forum: http://forum.3s-software.com
Download CoDeSys sample projects: http://www.3s-software.com/index.shtml?sample_projects

Managing Directors: Dipl.Inf. Dieter Hess, Dipl.Inf. Manfred Werner | Trade register: Kempten HRB 6186 | Tax ID No.: DE 167014915

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

Dieter Schmitz

unread,
Jun 4, 2012, 2:57:27 AM6/4/12
to us...@tortoisesvn.tigris.org
Yeah, this seems to be the one and only solution. Currently.

Thanks for your answer.

Dieter

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

api...@gmail.com

unread,
Feb 28, 2018, 10:53:50 AM2/28/18
to TortoiseSVN
Hi there,

I would like to ask if there is a way to change the temp directory of Tortoise SVN. I do have the problem of not enough disk space on my system's main HDD. While commiting a lot of files (let's say 10-15GB), the disk becomes full, because TortoiseSVN creates files under the user's temp directory. The repositories are not on the Main HDD. So I would be more than happy if I could have also the temp files created on the same drive where the repositories are.

Thanks a lot in advance for your prompt attention.


Kind regards,
Angelos Pitsos

Stefan

unread,
Feb 28, 2018, 3:06:04 PM2/28/18
to TortoiseSVN
Reply all
Reply to author
Forward
0 new messages