Reputation: 1300
I am going to migrate my project (folder) from TFS to git using git-tfs. The problem is that the folder once was moved in TFS from one place to another. TFS history for the folder shows all changesets from the beginning, but git-tfs clone
clones only the changesets, which happened after the move.
Is it possible to clone the old change sets too? Preferably together with the new changesets, but at least maybe to another git repo?
Upd. I've tried some ideas but they all failed:
git tfs clone
has no option to use specific changeset, only quick-clone
has.quick-clone
the first changeset at the old location (it works) and then fetch
the changes. But fetch
fails with error "No appropriate mapping exists for ...". I've tried adding old and new tfs remotes to the same repo, but this didn't help.Upvotes: 0
Views: 948
Reputation: 1300
Finally I tried git-tf
instead of git-tfs
and it suddenly worked, so the migration problem was solved.
Upvotes: 0
Reputation: 31147
There is a work in progress already working quite well that support this case.
Just compile it yourself and give it a try!
Upvotes: 1