wvd_vegt Posted November 5, 2013 Report Share Posted November 5, 2013 Hi Small question before i run into problems: How does PlasticSCM handle sync against r/o repositories like the https prefixed ones at github? What happens when i compile such an application and some project files are update (VS tends to update *.csproj and *.sln files when not matching the VS version). Are these files overwritten at every sync, so do i Always see an exact replica of the remote repository? regards Link to comment Share on other sites More sharing options...
calbzam Posted November 5, 2013 Report Share Posted November 5, 2013 Hi, Not sure if I understand your question. GitSync feature allows you to sync git repositories with Plastic repositories. It´s the same operation you make when syncing Plastic repositories, but in this case you sync with a git repository. This operation allows you to pull remote branches and changesets and also push your branches and changesets to the remote repository. eg: If you perform a few changesets locally, and then you sync with a remote repository, your changesets will be pushed to the remote one. Regards, Carlos Link to comment Share on other sites More sharing options...
wvd_vegt Posted November 7, 2013 Author Report Share Posted November 7, 2013 Hi Carlos This repository is read-only for me but i tends to make changes locally (and just wonder what happens when i sync again to get remote updates, will i loose all local changes, will plasticscm throw errors etc). The repository is located at https://github.com/gluck/il-repack and i'm using the clone url. regards Link to comment Share on other sites More sharing options...
calbzam Posted November 7, 2013 Report Share Posted November 7, 2013 Hi, When you sync two repositories the new changesets in both repositories are added:. You will receive the new changesets and the remote repository will receive your new changesets. The created changesets are not lost. Regards, Carlos Link to comment Share on other sites More sharing options...
wvd_vegt Posted November 7, 2013 Author Report Share Posted November 7, 2013 Hi Carlos, I just tried it against a repo that is not mine and it just seems to give an error about not being able to push after pulling changes. So I do not loose any local changes but probably have to re-apply them after ech update. (as nothing has changed remote, i cannot see what will happen then). For now it's ok. regards Link to comment Share on other sites More sharing options...
calbzam Posted November 7, 2013 Report Share Posted November 7, 2013 Hi, Yes, as you said, If you are syncing with a remote read-only repository, you will not able to push your changes. An error appears. Regards, Carlos Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.