Manage SVN Externals - MATLAB & Simulink (original) (raw)

Main Content

To get files into your working folder from another repository or from a different part of the same repository, use SVN externals.

  1. In the Files or Project panel, right-click the white space and select > .
  2. In the SVN Externals dialog box, click Add Entry.
    1. Provide a URL, a subfolder, and a revision.
      If you are prompt to enter login information when you select a revision, enter your username and password.
    2. Click OK.
      Alternatively, enter or paste ansvn:external definition in the SVN Externals dialog box. The project applies an SVN version 1.6 compliant externals definition. An example external definition ishttps://svn.example.com/repos/TeamRepos/TeamUtilities/trunk subfolder.
  3. Click Set to apply your changes.
  4. To retrieve the external files, clickUpdate.

If two users modify the svn:external definition for a folder, you might get a conflict. To resolve a conflict, locate the .prej file and examine the conflict details. Open the Manage Externals dialog box and specify the desired svn:external definition. Then, mark the folder conflict resolved, and commit the changes.

See Also

Topics