You are here: Managing Repositories > Pushing changes to repositories

Pushing changes to repositories

You can push changes to repositories to update Surround SCM to match your working directory. For example, if you use third-party source libraries that are frequently modified when new versions are available, you can push changes to simultaneously move, create, and add files and repositories in Surround SCM.

Note: Pushing changes is a one-way update and does not affect working directory contents. If you want to perform a two-way comparison to view all differences between local and server copies, and update working directories and repositories, diff the repository and working directory. See Viewing differences between repositories and working directories.

1. Select the repository and choose Repository > Push to Repository.

The Push to Repository dialog box opens.

2. Click the display mode button to switch between tree view and list view.

3. Click Expand All to expand all repositories with differences. Click Collapse All to collapse all expanded repositories.

4. Select a file and click a button to review the information.

Button Use to: Additional information
Differences Compare, accept, or reject differences between file versions. Viewing file differences
View View the local or server copy of changed files.  
History View the fie history. Viewing file history
Properties View the file properties. Viewing general file information

5. Select the files with changes you want to push to Surround SCM.

All files and repositories with changes are automatically selected. The corresponding actions, such as remove, add, and check in, are performed to push the changes to the repository. Clear any items you do not want to include.

6. Enter any Comments, such as the reason for pushing changes to the repository.

7. Expand the Changelist options to select options for pushing changes as part of a changelist. See Adding file actions to changelists.

8. Click Attach to attach the files with changes you want to push to an item in TestTrack or an external issue tracking tool. See Attaching source files to TestTrack items or Attaching source files to external issues.

9. Select Save As to save the list of pushed changes or click Print to print it.

10. Click Push.

The selected changes are pushed to the repository. If you selected to push changes as part of a changelist, the changes are pushed to the repository after the changelist is committed. See Committing pending changelists.

 

Additional documentation  Knowledgebase  |  Blog  |  Technical support