Forum Discussion
You don't mention which version control tool you are using, but generally they don't like for you to just move the code around to other locations.
As far as your version control is concerned, the scripts that are on the server are new scripts because they are not located in the same place they were when you checked them in last.
Thanks for your reply Marsha_R.
But I am still unclear with your comments. In my situation I have same version of scripts on my local machine and server.
I can directly modify the script using TestComplete application but it does not allow me to check-out or check-in my script. After I update a script in TestComplete the only way I can check-in is through VS TFS. I will have to further investigate the root cause.
Thanks
HK
- Marsha_R6 years agoChampion Level 3
Same version on local machine and server does not matter. Once you moved the file, you've gone outside the version control system and it's treated as a separate file.
TestComplete will let you edit anything you can open in the editor, so that's not necessarily a clue.
Have you tried readding that script to the repository?
- hkap6 years agoContributor
Hello Marsha_R,
I am not sure what do you mean by reading a script to the repository? How do you do that?
Thanks
HK
- Marsha_R6 years agoChampion Level 3
re-adding = adding again
You usually have to add a file to a version control repository when it is new and then you can check it out and work on it and check it in.
What you might try is doing a "remove" on the file in TestComplete (*not* delete). You want to get it out of the project but not kill it altogether. Then add it to TestComplete from the location on the server.
Related Content
Recent Discussions
- 3 days agoMW_Didata