Installing server (on Windows) and client tools (on Windows, Linux and Apple) for version control - windows

I installed and configured a Visual SVN server on Windows Server 2008. I was also able to install Tortoise SVN on Windows as my client tool. I'd like to get a client tool similar to Tortoise SVN for Linux and Apple operating systems.
http://www.visualsvn.com/server/licensing/
Few questions related to these installs...
(1) What is the recommended protocol for a repository, and what are the differences between them (ie: https, svn, etc..)?
(2) Do Linux or Apple operating systems require a specific protocol?
(3) What are the recommended Linux and Apple client SVN tools to connect to my Visual SVN Server? Right now, I only have Tortoise SVN configured on Windows as my client tool for checking in/out source code.

For Linux, try http://rabbitvcs.org.
For MacOS, XCode should support SVN. Check out this link, too: http://alternativeto.net/software/tortoisesvn/?platform=mac
Assuming you're developing, too, the Eclipse SVN plugin is a Pop Favorite on all platforms.

VisualSVN Server supports only HTTP(S) access. HTTPS is recommended since it's secure.
No.

Related

I need to install Tortoise SVN on mac but its not available. Can someone recommend any other version control software that's close to Tortoise?

My team uses Tortoise SVN on Windows, since I'm using Mac, I need version control software for mac so that it doesn't conflict with Tortoise SVN. In other words, my teammates would be checking the code through Tortoise SVN and I'll be checking in the code using some other software. Is it possible? Which version control software can I use? Can I use Git and other team mates can use Tortoise for same codebase?
Did you try to install svn without Tortoise. Tortoise is only a graphical interface for svn. Probably this may help:
Command-line SVN client for Mac
You may simply install it with brew.
Otherwise install it with a graphical Interface:
The options you find here:
https://alternativeto.net/software/tortoisesvn/?platform=mac

Compatibility of different SVN GUIs

Is there any way I can work on a Tortoise SVN repository from a Mac? Could I download a Mac equivalent and work on it without issues? It would be for Unreal Engine 4 if that is relevant.
You can use whatever SVN client you prefer; Tortoise SVN is strictly an interface on top of subversion, not subversion in it's entirety.
SVN Clients like Versions or SmartSVN are compatible SVN clients for MacOS. Conversely, you can install subversion and use strictly the command line tools if you prefer. Versions is pretty highly regarded from my experience with users on MacOS with subversion clients.

Connecting to TortoiseSVN repository using AnkhSVN on VS 2012

I am using AnkhSVN v2.5 and TortoiseSVN 1.9.4
I am not able to browse through the directories on my local drive.
Running as administrator didn't help either. However when using VisualSVN the issue is resolved.
Unfortunately, I can only use AnkhSVN, please help.
TortoiseSVN 1.9.x is based on Subversion 1.9. Local repository it creates and that you access via file:/// has FSFS format 7, by default. This FSFS format is new in SVN 1.9; SVN 1.8 and older clients and servers will not be able to read this repository unless you dump-load its data into an clean repository with older format.
AnkhSVN 2.5.x is based on SVN 1.8 (via SharpSVN) and this explains why it is unable to access this repository. The problem is that AnkhSVN does not display full error message in your case. The error could help you find out what's going on. I'm not sure, but I guess that this is the error that AnkhSVN had to display in your case: svnadmin: E125006: 'REPOS\db\format' contains invalid filesystem format option 'addressing physical'.
These steps should help you solve the problem:
Install VisualSVN Server or another Subversion server on Windows and access your repositories via HTTP(S) or svnserve instead of local file:/// access. The repository internals will not matter for your client in this case as the client will communicate with the server, not with the repository directly. This will help you avoid such problems in future.
Update to AnkhSVN 2.6.x. It should be compatible with SVN 1.9.x and Visual Studio 2012. I guess will access that repository without errors. I'm not sure, but I guess that there is no practical reason to use older AnkhSVN builds.

Migration of tortoisesvn local repository to mac

I have been using Tortoise SVN in windows using a local repository(copy also available in dropbox). Now for sake of work I have to migrate to Mac OS. Tortoise SVN is unavailable for mac and hence I decided to use SmartSVN. I have copied the Tortoise repository to my mac system. However I am not sure how (If it is even possible) to checkout the project files using SmartSVN.
Also is it possible to browse the tortoise repository using smartsvn.
Please advice.
PS: I am new to Mac and not experienced with smartsvn.
Regards
Just point SmartSVN to the repository using file:// access scheme. It doesn't matter whether it's TortoiseSVN, SmartSVN or a command-line client -- the repository itself is a regular Subversion repository and neither of these tool should have any issues accessing it.

What is the best way to integrate TFS version control

Working on implementing TFS throughout our organization. It is easy to integrate with .NET projects and any platform that uses Eclipse or a derivative of Eclipse for editing.
What's the best way to use TFS version control with Xcode (now that I find out we need to write some iPhone apps)?
Xcode integration is something that we at Teamprise have been looking into a lot. One of the main problems for us is that Apple does not provide a version control API that we can hook into to add a new version control system to Xcode - for integrated version control it is either the systems that Apple provide access to or nothing at the moment.
That said, we do have a number of customers who develop in Xcode for TFS. They either use Teamprise Explorer (which is a standalone GUI client to TFS compiled as a Universal Binary) or they have macros inside Xcode that perform basic check-out and get operations in-conjunction with the TFS command line (tf). It's obviously not the ideal experience but acceptable for them. The stand-alone GUI has the advantage that you can do all the work item tracking stuff there as well and integrate this with your check-ins.
Sorry if this is a very "marketing" type answer - just trying to let you know what our current customers do with Xcode. If you want more details around the macro approach then let me know.
Hope that helps,
Martin.
Few week earlier announced Git-tf by codeplex could do the job.
One way would be to use the Team Foundation System client under Windows in VMWare, and check out (or whatever TFS calls it) your sources to a directory on your Mac that's shared with the virtual machine. It also looks like Teamprise has a Team Foundation client for Mac OS X built atop Eclipse that would be worth looking into.
That said, I'd very strongly encourage you to use a natively cross-platform source code management system like Subversion or Perforce instead of a platform-specific silo like Team Foundation System for your company's soruce code, especially since you're going to be doing multi-platform development.
While you're not likely to share code between a .NET application and an iPhone application, having full cross-platform access to things like design documents can be really important. Mac OS X 10.5 and later include Subversion, Perforce is readily available, and both Perforce and Subversion are natively supported by the Xcode IDE. Subversion in particular is also more likely to be familiar to experienced Mac and iPhone developers you might bring onto your projects as you ramp up.
Perhaps SVNBridge will do the trick, it's an open source used at CodePlex (Microsoft's Open Source Hosting). Check it out here: http://www.codeplex.com/SvnBridge
I have limited experience with it other than using it briefly to connect to CodePlex.
Follow this links, its raeally helpful:
https://www.visualstudio.com/get-started/cross-platform/share-your-xcode-projects-vs
After that Check-in your existing xCode project code into TFS
On your Mac, download and extract www.microsoft.com/en-us/download/details.aspx?id=30474. I placed it in /users/{myuseraccount}/git-tf
Open Terminal and run the following commands
export JAVA_HOME=/Library/Java/Home
export PATH=$PATH:$JAVA_HOME/bin:/git_t
export PATH="/Applications/Xcode.app/Contents/Developer/usr/libexec/git-core/":$PATH
export PATH="/Users/{myuseraccount}//Git-Tf/":$PATH
change the working directory to your xCode project folder:
e.g.: cd “/users/{myuseraccount}/documents/xCode Projects/testproject1/”
In terminal fire commond:
- git remote add origin url//companyName.visualstudio.com/DefaultCollection/_git/xyz
and than
git push -u origin --all
It'll directly push your project into Visual studio TFS server..!!!!
The biggest problem with this is that Xcode only runs on OS X and TFS client tools only run on Windows. If you're host operating system in OS X and you have a Windows virtual environment running locally (like Parallels or VMFusion) then you could use Team Explorer or the command-line tools to work with the repository.
But this is a lot of work just to use a really dated version control system. If you don't have to use TFS I would probably use SVN or something else with native OS X support.

Resources