Jump to content

Tfs sync issue on one of my codeplex projects


wvd_vegt

Recommended Posts

Hi
 
I have a small number of projects at codeplex still using tfs.I can sync some with cm's tfs syncm but one gives errors.

The command I use for all these project is like:

cm sync /main@<project>@<server>:8087 tfs https://tfs.codeplex.com:443/tfs/TFS04 $/project --user=snd\<userid>_cp --pwd=<password>

It returns the following output:

Last equivalence found 28 -> 110701

- 0 changesets to pull
- 3 changesets to push

There are changes to push.
Commit check failed
Commit check failed
Commit check failed
Synchronization completed

Results:
- Object count: 0
- Branches: 0
- Changesets involved: 0
- Branches with conflicts: 0



Project that do sync return output like:

Check commit
Committed foreign changeset 111827 (plastic cset:56)

 

I'm (still) using v5.0.44.631 - Tampere.

Any suggestions?

Link to comment
Share on other sites

The latest version returns:

Upgrading mappings from server... -Last equivalence found 28 -> 110701

Upgrading mappings from server... |

- 0 changesets to pull

- 3 changesets to push

Upgrading mappings from server... OK

There are changes to push.

Exporting... / 1/3Commit check failed

Exporting... / 1/3Commit check failed

Exporting... - 1/3Commit check failed

Exporting... OK

Synchronization completed

Results:

- Changesets involved: 3

Regards

Link to comment
Share on other sites

Hi

I managed to workaround it by:

1) renaming the tfs directory for this project in %localappdata%\Plastic4\sync.

2) re-issuing my batch file to sync (which rebuilds the cset.mapping.conf file and pulls checks in everything with a new cs number.

3) Switch to the new head.

4) Merge the old head (the correct one, containing my latest changes) into it (and resolve some evil twins by marking them 'from source').

5) Then re-ran my batch file and everything worked (it mapped one of the new cs's as the head of tfs and started pushing from there).

The only drawback is that i have doubled the amount of changesets in PlasticSCM but that's not a big deal.

[edit]I seem to have lost the main project on tfs so it's not in sync at all, but at least it syncs a bit[/edit]

[edit]Deleted the main project from PlasticSCM only, committed, re-added the main project, committed and synced. It seems ok now[/edit]

Regards

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...