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:
- One could clone from the old folder location. But there is no that location in the current change set.
- One could clone from the last change set when older location was present. But
git tfs clone
has no option to use specific changeset, onlyquick-clone
has. - One could
quick-clone
the first changeset at the old location (it works) and thenfetch
the changes. Butfetch
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.