-
Notifications
You must be signed in to change notification settings - Fork 728
Description
Hi all
I encountered a problem while cloning a TFS Repository into a Git Repository with Full History.
A simplified view of my TFS Repository looks like this:
MAIN
/ \
/ \
Dev/Dev Release/UAT <--- C5315 (Caused the problem)
I cloned the Repository with following command
D:\GitTfs-0.23.0\git-tfs.exe clone --with-branches --with-labels -d $/k2.DWH/Main D:\GitRepo\
During the clone process, the changeset C5315 on Branch Release/UAT causes an infinite loop, as the Changeset is a "merge changeset" and includes a rename of the Branche Release/UAT from "UAT" to "Release/UAT"
Somehow it always tries to clone itself for infite...
How can I avoid this issue while cloning the TFS Repository with full history?
As the history is extremely long, we decided, we don't need everything.
Therefore I tried additionaly to clone the repository beginning from Changeset C12322, to avoid having the troublesome changeset in the history.
I used the following command:
D:\GitTfs-0.23.0\git-tfs.exe quick-clone --with-branches --with-labels -changeset=12322 -d $/k2.DWH/Main D:\GitRepo\
After that initial clone I used a pull to get the rest of the history:
D:\GitTfs-0.23.0\git-tfs.exe pull -i default --all -d
Unfortunately, the process also encounters the troublesome changeset C5313.
Can I somehow clone the repository beginning with changeset C12322 and ignore every older changeset lower than C12322?
Thanks a lot for your efforts and Best Regards,
Sterbsli