64908

Can I Copy (Not Branch) a Directory in TFS?

Question:

I realize this is out of the norm for development but our company is going through a complete split into two. Several of our .Net projects are tailored for both companies; however, we need to clone certain solution files along with their history. I'm not sure if this is possible without actually doing a copy and paste with the working directory and renaming the solution file. The companies will continue to share the same TFS server.

For example: \tfs\SolutionFileOne -> \tfs\SolutionFileOneCompanyA & \tfs\SolutionFileOneCompanyB

Answer1:

The only way I know to do this is to clone the Team Project Collection (TPC). If you have more than just this Team Project (TP) in there, you can clone the TPC then delete the extraneous TP's.

Here's the MSDN docs on how to split a TPC: <a href="http://msdn.microsoft.com/en-us/library/vstudio/dd936158(v=vs.120).aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/vstudio/dd936158(v=vs.120).aspx</a>

Recommend

  • Changing xib name [duplicate]
  • Renaming NativeScript iOS Application
  • py2exe cannot import Module from other directory
  • Development oriented PostgreSQL IDE
  • TFS 2017 vNext Build Get workspace with powershell
  • Publishing test results through command line test runner in VSTS
  • Uber API: Specify multiple scopes while requesting or issuing a token returns Invalid Request Parame
  • iOS UIWebView: How can I figure out what the previous URL is?
  • MySQL select genres issue (php)
  • TFS Builds: Running the builds as administrator
  • NullPointerException for lwuit.html.CSSEngine.applyStyleToUIElement(Unknown Source)
  • TFS edit build log using custom activity
  • Emacs lua-mode issue: (void-function interactively-called-p)
  • Want to understand iframe breakout code
  • Most efficient way to move table rows from one table to another
  • Error in installing package: fatal error: stdlib.h: no such file or directory
  • Is there a way to save the selected text and highlight it again once the page is refreshed?
  • Web.config system.webserver errors
  • std::remove_copy_if_ valgrind bytes in block are possibly lost in loss record
  • Run multiple queries from 1 SQL file showing result in multiple tables
  • Xcode 4 NSLog Macro link in Xcode 3
  • Functions in global context
  • Checking free space on FTP server
  • why do I get the error when installing the gem 'pg'? [duplicate]
  • Change Inet root folder for iis 7
  • FileReader+canvas image loading problem
  • Why value captured by reference in lambda is broken? [duplicate]
  • How would I use PHP exceptions to define a redirect?
  • Updated Ionic CLI but shows previous version (Windows)
  • XCode can't find symbols for a specific iOS library/framework project
  • jqPlot EnhancedLegendRenderer plugin does not toggle series for Pie charts
  • How do I rollback to a specific git commit
  • Is there a mandatory requirement to switch app.yaml?
  • Matrix multiplication with MKL
  • InvalidAuthenticityToken between subdomains when logging in with Rails app
  • Hits per day in Google Big Query
  • Change div Background jquery
  • File not found error Google Drive API
  • Busy indicator not showing up in wpf window [duplicate]
  • Converting MP3 duration time