I'm trying to clone an entire TFVC repository hosted in Visual Studio Online with branches using the following command:
git tfs clone --with-branches --export-work-item-mapping="{mapping file path}" https://{project name}.visualstudio.com/DefaultCollection "$/{project}/{branch}"
This has worked for me with several projects thus far, but this past weekend I ran into an issue...
The beginning of the process looks as it did for the other projects, but then after about 3 hours, the console output just keeps repeating the following two lines every 20 minutes or so:
=> Working on TFS branch : $/{source project}/{main branch}
Fetching from dependent TFS remote '{branch}'...
I let it do this for approximately 40 hours and it just kept doing the same thing.
I re-ran the clone with the --debug
option and the last line to get output before it just hangs there looks like this:
get [c4002]$/{project}/{branch}/{file location}/{file name with extension}
There is nothing special about this file that I can see, but looking at changeset 4002, I can see that there was a source rename
applied there. I have seen issues reported around renames with git tfs, but they seem to all be resolved according to the github threads.
Has anyone run into this? There is no error output, it just seems to be retrying over and over again...
git tfs version: 0.23.0.0 (TFS client library 12.0.0.0(MS)) (64-bit)
git version 1.9.5.msysgit.1