locked
adding a root folder to a team project RRS feed

  • Question

  • Hello, I have been working for a while in a team project with 8 developers, and to make branching easier I want to insert a new folder as root of the project (currently there are several folders and files at the root, which makes branching complicated). Whis is the easiest or recommended way to do this? Do I just create a folder and start moving files and folders there with team explorer? What should developers in the team do to get updated to the new structure?

    Thanks!


    oscar
    Friday, July 23, 2010 12:33 PM

Answers

  • Hi,

    You can ask the developer's to do a Get Specific Version with Type as Latest Version and checking the both the available check box options.

    • Marked as answer by oscarg Monday, July 26, 2010 1:55 PM
    Saturday, July 24, 2010 7:26 AM

All replies

  • Oscar,

    Probably the simplest way to handle this would be to:

    1. Ensure all eight developers have checked in their pending changes.
    2. Within the Source Control Explorer (SCE), add your new root folder, move things around the way you like, and create any desired branches.
    3. Ensure everything is still working as expected on your machine (based on the changes you made in #2 above).
    4. Check in your pending changes.
    5. Have the developers "get latest" and continue working.

    Hope this helps.


    --- Thanks, Jeff (http://devmatter.blogspot.com/)
    Friday, July 23, 2010 1:27 PM
  • Everything OK until point 5. Get latest does not create the new folder in developers machines
    oscar
    Friday, July 23, 2010 10:20 PM
  • Hi,

    You can ask the developer's to do a Get Specific Version with Type as Latest Version and checking the both the available check box options.

    • Marked as answer by oscarg Monday, July 26, 2010 1:55 PM
    Saturday, July 24, 2010 7:26 AM
  • Hi oscarg,

    I think you need to define a branching process strategy for your TFS , so all developers will follow the same structure, you can read this articles to help you more in branching ( http://branchingguidance.codeplex.com/ )

     

     


    Regards Ayman Zaza
    Sunday, July 25, 2010 10:15 AM
  • Hi oscarg, maybe get latest seems not to work because the developers have their workspace mappings pointing to a path below the new folder.

     

    Hope it helps...

    Best regards

     

    Sunday, July 25, 2010 10:46 PM
  • Hi oscar,

    Is this this issue fixed?

    If not, You can try Jehan's suggestion first. If it does not help, you can remove the mapping of the local workspace and then remap it again (Open VS=>File=>Source Control=>Workspaces).


    Best regards,
    Ruiz
    MSDN Subscriber Support in Forum
    If you have any feedback on our support, please contact msdnmg @ microsoft.com
    Monday, July 26, 2010 2:46 AM
    Moderator
  • Hello. Getting specific with last and checkboxes selected solved the problem.

    Ayman, I am doing this, because we defined a branching strategy and needed team project to have a common root folder, which it originally did not have, to branch from there.

     Thanks!

     


    oscar
    Monday, July 26, 2010 1:58 PM