Jump to content

SYNC GIT TFS


sanyavb

Recommended Posts

When I'm synchronizing GIT (http://SERVER:8080/tfs/DefaultCollection/_git/Source) - I get the error The credentials introduced for the repository are not valid.

Then I'm try next command

cm sync /main@Test@localhost:8087 tfs http://SERVER:8080/tfs\\DefaultCollection $/Source --user=MyDomain\User --pwd=anypassword

I get the error:

Error: Exception has been thrown by the target of an invocation.

Please, help me! I really want to use your product, but it does not work

 

Clipboard02.png

Link to comment
Share on other sites

Hi,

why don't you try to specify the user and password values for the git sync command?

I would need to check the Plastic SCM client and Plastic SCM server log files.

Here you have how to enable the "cm.log.conf" file: https://www.plasticscm.com/documentation/technical-articles/kb-enabling-logging-for-plastic-scm-part-i.html

The Plastic SCM server is having the log enabled by default so if you could send me the "plastic.debug.log.txt" file you can find inside the plastic SCM server directory that will help in order to debug the issue.

Link to comment
Share on other sites

Ok thanks for the test.

Do you mind sending me the cm log file? You have the instructions about how to enable it up there.

Also, you can migrate the git content into Plastic SCM using the fast-export operation, that might be another approach for you.

Link to comment
Share on other sites

It's problem. I have not permission to create new user and change password.
I asked another user and he connected to TFS successfully. 
command 'cm' returned the following message: 
Branches are in sync. There are no changesets to push or pull.
Synchronization completed

In total:

1) Password containing  symbols like "#" or "!"  is not correct! Please, fix it.

2)  cm sync /main@Test@localhost:8087 tfs http://SERVER:8080/tfs... etc  - is work, but Branches are in sync. There are no changesets to push or pull. (actually changesets there and it contains many files and branches)  - Please, fix it.

3) synchronization by the following method (see. figure sync.png) does not work - Get error  The credentials introduced for the repository are not valid

sync.png

Link to comment
Share on other sites

Hello, let's summarize the problems:

On 11/30/2016 at 2:06 PM, sanyavb said:

1) Password containing  symbols like "#" or "!"  is not correct! Please, fix it.

Did you test with another command that is not having those chars and it's going further?

On 11/30/2016 at 2:06 PM, sanyavb said:

2)  cm sync /main@Test@localhost:8087 tfs http://SERVER:8080/tfs... etc  - is work, but Branches are in sync. There are no changesets to push or pull. (actually changesets there and it contains many files and branches)  - Please, fix it.

Ok, I'll need the server and client log for this execution I would like to know why it's not syncing content

On 11/30/2016 at 2:06 PM, sanyavb said:

3) synchronization by the following method (see. figure sync.png) does not work - Get error  The credentials introduced for the repository are not valid

I guess you are using the credentials you used for the second test, right? Can you share the client log file as well?

Link to comment
Share on other sites

Hello,

for TFS, look at the error TFS is raising:

2016-11-30 16:28:07,226 ERROR 16376 sync - Error running sync: The string must have at least one character.
Parameter name: item. StackTrace:
   at Microsoft.TeamFoundation.Common.TFCommonUtil.CheckStringForNullOrEmpty(String stringVar, String stringVarName, Boolean trim)
   at Microsoft.TeamFoundation.VersionControl.Client.VersionControlServer.QueryHistory(String path, VersionSpec version, Int32 deletionId, RecursionType recursion, String user, VersionSpec versionFrom, VersionSpec versionTo, Int32 maxCount, Boolean includeChanges, Boolean slotMode, Boolean includeDownloadInfo)

Can you share your execution command with us? If you want we can follow up this using the support account, you are welcome to send us an email to support at codicesoftware dot com.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...