Jump to content

The settings you introduced don't match the stored ones for branch/repo


tsvc

Recommended Posts

Hi,

I'm trying to sync a Plastic repo with a Git repo. Keep getting this error:

The settings you introduced don't match the stored ones for branch/repo

Where are the settings stored? Why are you showing this error at all? A popup before Plastic is asking me to enter the Git repo url just to tell me after hitting apply that the URL is not the stored one. ?

Link to comment
Share on other sites

Hi,

Every time you sync with git the sync settings and data are stored in the client directory. 

To completely delete all sync information about a previous git sync, first find out the repository GUID by running
cm lrep --format="{repid}->{repname}->{repguid}"

You'll get something like this:
6605->doc->fa890de2-16d1-435f-acf7-2a6b2f4d1f2c
6606->XBRL->f45fbfd3-95cb-4c32-8d15-06d1e2087063
6607->indexertest->e0cd9d8b-ee88-4c84-b524-4d9c6acaa35d
6608->monodevelop->c80bf02b-f394-4bd4-bba4-db5dbd49192c
6609->plasticdocu->3480b2d8-fd23-462b-bbf0-52a0fb48ea5d

Find out your repo and copy the GUID. Now go to C:\Users<your-user>\AppData\Local\plastic4\sync\git (Windows) or $HOME/.plastic4/sync/git (linux) and delete the directory named after the repository GUID.

Please have in mind that this will remove all mappings between Plastic SCM changesets and Git commit SHAs. It means that syncing against another git repo will probably create duplicate changesets in Plastic; however, if you just want to push your Plastic SCM repo to an empty Git repo, you'll be fine. All Plastic SCM data will be pushed into the git repo and the sync mapping will be created according to the new operation.

Best regards,

Carlos.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...