Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| student:eclipse:subversion [2019/02/17 14:37] – bernstdh | student:eclipse:subversion [2020/07/17 16:45] (current) – bernstdh | ||
|---|---|---|---|
| Line 12: | Line 12: | ||
| - | However, before you start note that **it may be difficult to install the SVN Connector on Windows machines running Eclipse Oxygen**. If this is your current environment then you have two options - install Eclipse Neon instead or figure out how to install the connector (which is available from Polarion.com) manually. (Bug report [[ https:// | + | However, before you start note that **it may be difficult to install the SVN Connector on Windows machines running Eclipse Oxygen**. If this is your current environment then you have two options - install Eclipse Neon instead or figure out how to install the connector (which is available from Polarion.com) manually. (Bug report [[ https:// |
| Line 38: | Line 38: | ||
| - | === After the Process | + | === After the Process |
| - | Regardless of how you start the process, after it is completed you should restart Eclipse. | + | Regardless of how you start the process, after it is completed you should restart Eclipse. |
| - | - You may now be prompted to install the SVN Connectors in a dialog box. **IF NOT, YOU MUST FORCE THIS PROCESS MANUALLY | + | If you are installing Subclipse, you may be prompted to install the SVN Connectors in a dialog box. **IF NOT AND YOU ARE USING SUBCLIPSE, YOU MUST FORCE THIS PROCESS MANUALLY |
| - Select an appropriate connector -- SVN Kit can be used on all platforms; Native JavaHL can only be used on Windows machines that have an '' | - Select an appropriate connector -- SVN Kit can be used on all platforms; Native JavaHL can only be used on Windows machines that have an '' | ||
| - Click on < | - Click on < | ||
| Line 49: | Line 49: | ||
| - When the next dialog appears check "I accept..." | - When the next dialog appears check "I accept..." | ||
| - Restart Eclipse. | - Restart Eclipse. | ||
| + | |||
| + | |||
| + | You can change the SVN interface by clicking on < | ||
| ==== Connecting to Subversion on stu ==== | ==== Connecting to Subversion on stu ==== | ||
| + | |||
| + | === Protocol === | ||
| Some Subversions Repository Servers use '' | Some Subversions Repository Servers use '' | ||
| + | |||
| + | === Identifying a Repository === | ||
| - Learn the URL for the repository. (It is likely to be something like '' | - Learn the URL for the repository. (It is likely to be something like '' | ||
| - | - If you are not already, use the SVN perspective by clicking | + | - If you are not already, use the SVN perspective by clicking on < |
| - Click on {{eclipse_new-repository-location.gif}}. | - Click on {{eclipse_new-repository-location.gif}}. | ||
| - After the dialog box opens, enter the URL in the " | - After the dialog box opens, enter the URL in the " | ||
| - Complete the process. | - Complete the process. | ||
| - | Depending on the particular | + | === Authentication === |
| + | |||
| + | The plugin | ||
| + | |||
| + | * You may (it varies with the plugin) | ||
| + | |||
| + | * You can create an [[student: | ||
| + | |||
| + | In either case, **should not save your authentication information on a " | ||
| Line 91: | Line 106: | ||
| an * character before it's name in the file tab (there will be no indicator | an * character before it's name in the file tab (there will be no indicator | ||
| in the // | in the // | ||
| - | |||
| - | |||
| - | === Check-Out === | ||
| - | |||
| - | **Assuming you have already added one or more repository locations to | ||
| - | Subversive**, | ||
| - | create a local/ | ||
| - | |||
| - | - If you are not already, use the SVN perspective by clicking on < | ||
| - | - Expand the appropriate repository. | ||
| - | - Right-click on the appropriate project. | ||
| - | - Pull down to "Check Out". | ||
| - | |||
| - | Another way is to: | ||
| - | |||
| - | - Click on < | ||
| - | - Select "Use existing repository", | ||
| - | - Add the project name to the end of the URL (since there may be more than one project in the repository) and click < | ||
| - | - Check "Check out as a project with the name specified", | ||
| Line 120: | Line 116: | ||
| - When the dialog box appears, select the appropriate repository type (i.e., SVN) and click on < | - When the dialog box appears, select the appropriate repository type (i.e., SVN) and click on < | ||
| - When the next dialog box appears, check "Use existing repository location", | - When the next dialog box appears, check "Use existing repository location", | ||
| - | - Select | + | - If prompted to choose a mode, select |
| - Click on < | - Click on < | ||
| When the SVN window appears, enter a commit comment (like " | When the SVN window appears, enter a commit comment (like " | ||
| - | | + | |
| === Add a File to Version Control === | === Add a File to Version Control === | ||
| Line 132: | Line 128: | ||
| - Right-click on the appropriate file. | - Right-click on the appropriate file. | ||
| - Pull down to " | - Pull down to " | ||
| + | | ||
| | | ||
| + | |||
| + | === Check-Out === | ||
| + | |||
| + | **Assuming you have already added one or more repository locations to | ||
| + | Subversive**, | ||
| + | create a local/ | ||
| + | |||
| + | - If you are not already, use the SVN perspective by clicking on < | ||
| + | - Expand the appropriate repository. | ||
| + | - Right-click on the appropriate project. | ||
| + | - Pull down to "Check Out". | ||
| + | |||
| + | Another way is to: | ||
| + | |||
| + | - Click on < | ||
| + | - Select "Use existing repository", | ||
| + | - Add the project name to the end of the URL (since there may be more than one project in the repository) and click < | ||
| + | - Check "Check out as a project with the name specified", | ||
| + | |||
| === Update === | === Update === | ||
| Line 140: | Line 156: | ||
| - Right-click on the appropriate folder/ | - Right-click on the appropriate folder/ | ||
| - | - Pull down to " | + | - Pull down to " |
| === Viewing/ | === Viewing/ | ||
| Line 161: | Line 177: | ||
| You might also be interested in the video at | You might also be interested in the video at | ||
| [[ https:// | [[ https:// | ||
| + | |||
| + | |||
| + | |||
| + | === Editing Conflicts === | ||
| + | |||
| + | If you have any conflicts after you perform an update, you can edit them | ||
| + | as follows: | ||
| + | |||
| + | - Right-click on the file(s). | ||
| + | - Pull down to < | ||
| + | - Use the icons to move between conflicts and accept particular edits. | ||
| + | |||
| === Commit === | === Commit === | ||
| Line 182: | Line 210: | ||
| - Pull down " | - Pull down " | ||
| - | === Compare Versions of a File (i.e., diff) === | + | === Compare Versions of a File === |
| To compare different versions of the same file: | To compare different versions of the same file: | ||
| Line 211: | Line 239: | ||
| - Right-click on the appropriate folder/ | - Right-click on the appropriate folder/ | ||
| - | - Pull down to " | + | - Pull down to " |
| and then commit the folder/ | and then commit the folder/ | ||
| Line 257: | Line 285: | ||
| | '' | | '' | ||
| | '' | | '' | ||
| - | | '' | + | | '' |
