<p>How effective is merging when folders and projects have been renamed in your solution?</p>

[{'answer_id': 71881, 'author': 'Alex McMahon', 'author_id': 11921, 'author_profile': 'https://Stackoverflow.com/users/11921', 'pm_score': 1, 'selected': False, 'text': "<p>In my experience TFS can track renames, as long as you do all the renaming within the SourceControlExplorer (TFS). </p>\n\n<p>The problems tend to occur when you have other people making changes to the original files while someone else is doing massive renames/moves, while someone else is editing the renamed version. </p>\n\n<p>Where possible I would say that if you are doing large scale renaming and moving it is worth informing team mates, and if possible get them to hold off making changes until you've checked yours in.</p>\n\n<p>As with all branch/merge issues the problem is greatly reduced by checking in and merging little and often.</p>\n"}, {'answer_id': 72263, 'author': 'Tomer Gabel', 'author_id': 11558, 'author_profile': 'https://Stackoverflow.com/users/11558', 'pm_score': 2, 'selected': True, 'text': '<p>We\'ve had lots of success with TFS 2005 when it comes to file deletes/renames, with a few very specific exceptions, namely:</p>\n\n<ol>\n<li>Files which have been renamed in both source and target branches (this is usually trivially solved with a click on "Ignore server changes");</li>\n<li>Files which have been renamed in the target branch but deleted in the source branch. I recall one case where the merge would not work no matter what we tried, and we were forced to "revert" the change on the source branch and re-do after the merge.</li>\n</ol>\n\n<p>Supposedly TFS 2008 solves a lot of these issues, but honestly aside from occasional merge hickups TFS is stable, and hierarchical merges are a lot simpler and quicker than with SVN.</p>\n'}, {'answer_id': 782882, 'author': 'JMarsch', 'author_id': 67038, 'author_profile': 'https://Stackoverflow.com/users/67038', 'pm_score': 0, 'selected': False, 'text': '<p>We\'ve had lots of problems with TFS 2005 and deletes in general.  I haven\'t determined the cause yet, but a number of my team members have run into problems merging in changes that involved a renamed or deleted folder.  This seems particularly true if there was a lot of refactoring (and renaming, and re-renaming) in the branch where the renames occurred.  I haven\'t figured out the reason or reproduction steps, as I haven\'t been personally involved in any of the situations where it didn\'t work.</p>\n\n<p>I\'ve seen some other general deletion problems like this:\n1 in Branch A, reduce permissions in subdirectory 1 to read-only\n2. Create Branch B  (branched from A to B)  (check in)\n3. Delete Branch B (check in)\n4. Create a new branch from A, give it the same name as branch B\n5. Get a weird permissions error related to TFS still "seeing" the read-only permissions on the deleted branch B.</p>\n\n<p>Only way we\'ve found to avoid it is to insert step 2a: rename Branch B to _Branch B (check in)</p>\n\n<p>Overall, TFS has been great for us, but there\'s something flakey going on with deletes, renames, and merges.  We hope to upgrade to 2008 soon, and I am hoping that it addresses our issues.</p>\n'}, {'answer_id': 782948, 'author': 'John Saunders', 'author_id': 76337, 'author_profile': 'https://Stackoverflow.com/users/76337', 'pm_score': 0, 'selected': False, 'text': "<p>I've had experience with mass file and folder moves with TFS 2008. This was done to make our source code structure more consistent. All I had to do was drag and drop (and wait) in Team Explorer, then commit the changes.</p>\n"}]
['https://Stackoverflow.com/questions/71722', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/11799/']