Ask a Question

Change from SVN to GIT

SOLVED
Lagencie
Frequent Contributor

Change from SVN to GIT

Is it possible to change a Project Suite from SVN to GIT checkin?

 

When i try it it always says that I need to close the project before changing to GIT, when I do this and reopen the project it tells me that it is using another Source Controll and that it will set my current settings to SVN

6 REPLIES 6
tristaanogre
Esteemed Contributor

The source control that a project is "bound" to is stored in the MDS file and PJS file of the project and project suite.  You should unbind the project first from SVN, change your integration to GIT, and then rebind.


Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available
Lagencie
Frequent Contributor

But how do I unbind it in TestComplete?

 

When I go into Tools Options and try to change it from SVN to None it only says it can not be changed while the project is open. Or do I have to delete some lines in the pjs file manually?

tristaanogre
Esteemed Contributor

Right click on the Project Suite in the Project Explorer, select "Source Control -> Unbind from SVN".  Then, once it's unbound, save the project suite.  You should then be able to change the source control settings and rebind to GIT.


Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available
Lagencie
Frequent Contributor

doesnt show the "Unbind from SVN", do I have to do something before?

tristaanogre
Esteemed Contributor

Shouldn't have to... what this means is that the project suite itself might not be "bound" to SVN.  Close the entire project suite but keep TC open... try changing your source control plugin at that point.


Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available
Lagencie
Frequent Contributor

I guess it was because of an older Subversion Version ... I found in the Testcomplete Help that I can delete it from the .pjs File manually.

 

Tried it and it worked. Not sure why I couldnt delete it within Testcomplete, changing the Source Controll with Testcomplete open and project closed did work but opening the Project Suite said, it has to change the settings as the Source Controll Version is different.

cancel
Showing results for 
Search instead for 
Did you mean: