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

TSVNCache voes

From: Daniel Widenfalk <Daniel.Widenfalk_at_iar.se>
Date: Wed, 19 Jun 2013 09:53:36 +0200

Hi,

I have a problem and am looking for a "quick-fix" solution
to use while I rework how my scripts are implemented.

This is my issue:

We use scripts to check out different versions of internal
libraries. Sometimes we need to swap back and forth between
two libraries (for some valid reason) and therefor do something
that boils down to:

$ rm -rf {some-directory}
$ svn co {some-URL} {some-directory}

This works most of the time but sometimes the TSVNCache process
makes this nearly impossible to do because of locks. Yes, I know
this is how TSVNCache is *supposed* to work!

Is there any standard tool to do this already? I realize my Google-fu
may be severely lacking but the only things I found were posts from
2006. And some new stuff from 2012. None gave a solution.

I need a 100% scripted solution because this'll be running on
a build server.

I'm wondering if the following process would be an "acceptable"
quick-fix:

I'll write a script/program that:

1) Updates the registry entry Software\TortoiseSVN\OverlayExcludeList
   with the path I'm going to update.
2) Post a WM_CLOSE message to the TSVNCache window.
3) ... do stuff ...
4) Revert (1)
5) Redo (2)

Remember, I'm just looking for a short-term quick-fix! The true answer
lies in reworking our build scripts, something not done on a coffee
break :)

I looked in the TortoiceProc.exe source and this is basically what
clicking in the UI would do.

Best regards
/Daniel Widenfalk

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2013-06-19 10:09:12 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.