How to add multiple local repositories at once into SourceTree Windows version? - atlassian-sourcetree

I have a folder in which I have a couple of dozens of sub-folders, each with it's own project versioned with git, something like this:
projects:
project_a
project_b
...
project_z
I would like to add them all in a SourceTree in some folder.
In OSX version there is a way to do that, but I cannot find how to do it in Windows version (I have version 3.1.2 installed if it matters).
Do anybody know how to add all repositories from a given folder into SourceTree at once?

You can select all the folders and just drag them into the Local Repos tab in a New Tab. It should just add all of the repos

Related

Using a separated source folder from SVN on Eclipse

So, here in the company we work with svn, and our svn server only have the source folder. When I use NetBeans, it's everything ok because I can add source folders in project and will work fine in svn. But on eclipse if i do the checkout from command line and add that folder in my dynamic web project, I can't see the svn history and nothing, svnclipse just does not work on that folder.
Our structure of the projects it's something like this
Workspace
Project folder
Project1
Project configuration files
SourceCode
Packages
Project folder 2
Project2
SourceCode
I already try to make checkout using svnclipse, but he add alot of extra config files, he turns the folder in a project and the source folder is add as a link to another project, in this scenario the svnclipse quick diff does not work properly.
There is a way to use that folder as source and Svnclipse works on that ?
Sorry if my English is not so good
There is no easy way to do what you want. In Eclipse a source control provider can only be connected to the project itself. So options are:
Use another svn client like command line or TortoiseSVN.
Create a small SVN project with the Eclipse project configuration files that also use svn:externals to pull in your source folder from repository.
With option 2, you would checkout this small SVN project from some other repository using Subclipse in Eclipse, could even be a local file:// repository and then the svn:externals property would also cause your source folder to be checked out.

Commit Folder From Local Directory to Online Using SVN

I'm completely new to subversion and I'm unsure how to add and commit a Java Project to an online repository using svn. The goal is to move the important folders in the project including the src, package, and class. I've accessed the online repo and I (assume) I have it as a working copy. When I try to svn add the local project folders however, I am told it is not a working copy. How do I fix this? Is there a way I can make my workspace be the online repo directly? Or do I just copy the folder somehow? I'm using Cygwin and Eclipse.
To add your project to svn you can do it this way:
Right click on your project and select: Team / Share Project...
Select SVN
Select Use Existing Repository Location
Browse to the location you would like your project to reside: typically .../trunk
Click OK and finish
This should have committed your project to SVN. Regarding your question about your entire workspace being the online repo. with each of your individual projects connected to SVN just like I detailed above, you will be able to commit and update your local projects into and from SVN without any issues.

Setting up subclipse with existing project with multiple SVN checked-out folders

I'm having troubles getting SVN functionality added to my PyDev project.
I've set it up as:
workdir
workdir/project_x
workdir/project_y
workdir/project_z
Each of those projext_ folders is a specific checkout folder from different SVN repositories.
The workdir itself is imported in Eclipse as a PyDev project.
I've tried with Subclipse:
Renaming project
Using the 'team/share' functionality. It says it found the .svn in each of the project folders and wants to delete them. The next step is to setup a SVN url, but I have multiple.
Anyone got a clue how to get subclipse working?
(I've setup these folder because of problem with python finding components in the other project folders.)
Running on Ubuntu (if that matters)
Eclipse team connection can only be made at the top Eclipse project level, or at least that is all Subclipse can do.
You could possibly connect workdir to a local file:// repos and then set the svn:external property to have it pull in the different projects. Subclipse would support that ok.

Eclipse Mercurial Plugin 2 computer

I want to use MercurialEclipse to share my files between my mac and my windows computer. I installed the plugin on both and tried to commit+push the files from the mac into a repository of googlecode. Now I am trying to pull the files from the googlecode repository onto my windows computer. But it won't work, there aren't any files in the wizard.
Can anyone help me?
You need to first clone the repository on the target computer, hg clone. Sometimes I just copy the .hg directory (and down) from the source's root to where I want to create the new clone. In particular I've done this for creating the repository on a central server.

Configuration of Subversion in Xcode

I want to configure SVN on my computer.
For that how would I create a repository?
How to give all the paths needed?
I am using Mac os 10.7.3 Lion and Xcode 4.2.
To setup your Subversion repository in XCode 4, go to File → Source Control → Manage Repositories. Once there, you will see an option to add a repository:
After selecting Add Repository option, you will need to enter your Subversion repository URL and the name you wish to add to your repository:
Click next, and on next step you should see an option to setup paths to your folders in your svn repository. There are three folders which are usually created by default when you use svn, and they are called /trunk, /tags, /branches. In case you don't have this folders, you can skip this step, it's optional.
Now you should see in XCode organizer your repository in the sidebar. What we would like to do is add one of our projects to Subversion so we can use version control for the project. We would like to add the project to /trunk folder of our repository. In order to do this, click on the /trunk folder, and then click on the import button.
When you click import, select the folder of files which you would like to import. Then you will be prompted to enter a commit message. After this, click refresh, and you should see the new files added to your repository.
Now your project is under version control, and you should be able to see it in your Beanstalk account, in your repository. All you need to do now is checkout the files to a location of your preference, and open the project from this location.
When you open the project, you will see flags next to all files you modify, add or delete and you will see an option to commit the files.
May this Helping to you
Happy Coding.