I am very new to PowerShell and Tortoise SVN both , and need to accomplish the following via PowerShell.
I am working off a Windows 2008 server that has Tortoise SVN installed.
• The SVN repository has been checked out locally to a c:\alpha\testops.
• I have a local folder on the server “C:\beta\cons “which has a lot of subfolders and each subfolder has a few config files
• This entire “cons” folder from the local server needs to be checked into SVN under the “testops\cons” folder.
• The “CONS” folder already exists in the repository: Eg : c:\alpha\testops\cons)
The local folder where I have all the config files looks something like this:
C:\beta\cons \ app1\config2.txt
C:\beta\cons \ app2\config1.txt
C:\beta\cons \ app2\config2.txt
When checked into SVN, it should look something like this:
So the SVN steps that need to be accomplished via powershell are:
1. Run an update first to get the latest version of the repository.
2. Add the sub folders under from c:\beta\cons\ (source folder ) to c:\alpha\testops\cons\ (repository)
Would very much appreciate your help .
Thanks much ..