Reputation: 9941
I am part of a very small team. We're thinking about trying the hosted tfs-service (tfspreview.com) We're currently using tfs 2010 but neither of us is administrator on that machine.
Is it possible to "move" the commit-history (all I care about is code. Having the correct dates/users to the commits would be nice but is not required.)
Technically it would be ok for me to check out every commit of the old tfs and check that in into the new one. But I feel there has to be an easy way to do this...
Upvotes: 1
Views: 499
Reputation: 9941
in the end I did this using git-tfs. I cloned (using --no-metadata
, to not confuse the clone of the new repo after applying the commits) the old tfs-repo and extracted a patch serial. Next I cloned the new tfs-repo and applied the patch-serial. git tfs rcheckin
"pushed" the commits to the tfs.
Drawbacks:
So.. using this way I lost all the metadata of the commits (who did what and when) but I retained the code-history...
Upvotes: 2
Reputation: 9189
The TFS Integration Tools is the only method I know of doing this, and it has limitations.
What IS NOT migrated by the Toolkit
- Exact check-in date/time (checkins are replayed)
- Check-in notes
- Labels
- Permissions
- Workspaces
- Pending Changes
- Shelvesets
- File encodings
- Subscriptions
- Test Cases
- Check-in policies
- Reports
- Team Portal / SharePoint
- Process Templates
- Work item queries
- Builds
- Warehouse data
Upvotes: 2