Checking in with AccuRev [Permalink]
At my new company we use AccuRev for source control. The license fees are insanely expensive and it's extremely complicated to do such a simple thing as "check in some code". Here is the process to do a check-in. AccuRev actions are in bold. (I'm documenting it here so i can remember it later on):
Update: I'll add a few tips as i find them. Tip #1: Another annoying 'feature' of AccuRev is that each workspace is associated with a hostname. And for some reason, the hostnames seem to change on me once in a while. I don't profess to know why this is. But once it happens, you can no longer access your workspace to do updates and promotions. To restore your hostname, right-click on the workspace, click edit, then click finish. Walla - hostname updated back to your current hostname.
- Get the latest changes from upstream by doing an update. (Click the green lighting bolt - that's the update button).
- If there are overlaps (i.e. conflicts that couldn't be resolved automatically), do an overlap search, go through each file and manually merge (i prefer to use Eclipse's merge tool here). When done, do a merge on each file. This will mark it as merged on your machine.
- Now that you're up to date with the stream (i.e. branch from which you are working), do a modified search to see which files you've changed.
- For each modified file, do a Diff against Backed Version to see your changes and make sure you like them. Once satisfied which the changes, do a keep operation on each file to mark your local version of the file as being ready to send to the stream.
- Don't forget to do a external search now so that you can see any new files that you've created that haven't been added to the repository yet. For each file in this list, do an Add to AccuRev Depot operation so that the local files are ready to add to the stream.
- Now do a pending search to get a list of all files that are waiting to be promoted (i.e. moved from your local machine to the stream where others can get your changes).
- Select each file in the pending list and do a promote to actually commit it to the repository. Add your comment, and oh yes - you must have a bug # that you enter in order to add your code. Pretty much this is meaningless - everyone just makes a bogus bug # with some generic error like "scott's code changes for iteration 2" and uses it over and over.
Update: I'll add a few tips as i find them. Tip #1: Another annoying 'feature' of AccuRev is that each workspace is associated with a hostname. And for some reason, the hostnames seem to change on me once in a while. I don't profess to know why this is. But once it happens, you can no longer access your workspace to do updates and promotions. To restore your hostname, right-click on the workspace, click edit, then click finish. Walla - hostname updated back to your current hostname.
Enter Comment


