User Tip: How to Push and Pull Code Into AccuRev

November 16th, 2012 by AccuRev Leave a reply »

I am new to AccuRev. What are the steps needed for me to pull down and start working on code? How do I share that code with the rest of my team?

Follow these three steps:

  1. Pull code down: In AccuRev, all modifications to code must be made in a workspace. To create a workspace, right-click on the stream that contains the code you need to work on. Select the option “New Workspace.” After selecting this option, you will be asked to provide the physical location where you want to place the workspace (on your client system) and a name. Once you have done this, click on “finish” and a workspace will be created.
  2. Modify your code: Once you have made the necessary changes to the files, you can use the “Modified” searches filter to identify all files that have changed. Highlight the modified files (multi-select via ctrl-A or edit/select all), right-click and select “Keep.”
  3. Promote your changes: Now your changes are listed as “(kept)(member)” and are ready to be promoted to your backing stream. Select the “Kept” filter and perform the same multi-select as before, right-click and select “Promote.” Your changes will now be available to any other workspace using the same backing stream. Those workspaces will need to perform an AccuRev update in order to pull those changes in.
Was this tip helpful? You can find other Application Notes such as this on our User Forum.



Leave a Reply

Anti-Spam Protection by WP-SpamFree