View Full Version : How to get source files from AccuRev on your local PC?
abcdetech
04-30-2008, 02:23 PM
I need to get all source files (VS2005 projects) from AccuRev into my local PC, build them, post on the network.
I've got stuck on the step with AccuRev.
There are a lot of samples regarding other source controls but nothing about AccuRev.
Would someone please post an example how to get a source from AccuRev.
I didn't have any problems with getting the files from VSS but with AccuRev no luck.
thanks
kinook
04-30-2008, 04:16 PM
The VBP AccuRev action is a pretty thin wrapper around the AccuRev CLI program. You may need to consult AccuRev_User_CLI.pdf from the AccuRev documentation to use it.
abcdetech
05-01-2008, 01:05 PM
Okay, the DOS command for AccuRev which I want to automate using the VBP is:
"accurev mkws -w gizmo_bugfix -b gizmo1.1 -l /home/jsmith/ws/test"
My question is, where in the AccuREv Step Properties GUI /step do I enter the following my parameters for the DOS command shown above?
In othe words where do I put "-w gizmo_bugfix -b gizmo1.1 -l /home/jsmith/ws/test"?
There are plenty of tabs - Flags, Options, etc..... and it is not clear and not well described in your documentation which control is for what.
kinook
05-01-2008, 01:57 PM
There are not currently dedicated fields for those flags -- you would need to put them in 'Additional command-line options' on the Options tab. We'll add to our list to update the AccuRev action for the missing parameters.
HaroldOlsen
12-12-2008, 03:29 PM
The command you want to have scripted by the Accurev get source control step is POP. Unfortunately VBP has a bug in its Accurev CLI creation and does not format the command properly. You need to write your own POP step until they fix it (timeframe??). The format is
Accurev Pop -R -v %mSCCPath% -L %mArena% \.\%mSCCProj%
where mSCCPath is the stream name, mArena is the topmost folder path, and mSCCProj is a subfolder within the hierarchy. For example:
Accurev Pop -R -v Release_Candidate -L F:\Build_Top \.\IOSubsys/Disk
or for the whole stream:
Accurev Pop -R -v Release_Candidate -L F:\Build_Top \.\
kinook
12-15-2008, 06:29 PM
In VBP v7, this step:
<step action='AccuRev'>
<Command>pop</Command>
<Elements>\.\IOSubsys/Disk</Elements>
<LocalPath>F:\Build_Top</LocalPath>
<Recurse type='11'>-1</Recurse>
<ShowCmd type='11'>-1</ShowCmd>
<Version>Release_Candidate</Version>
<indent type='3'>1</indent>
<name>AccuRev</name>
</step>
will produce a command of
accurev pop -R -v Release_Candidate -L F:\Build_Top \.\IOSubsys/Disk
vBulletin® v3.8.11, Copyright ©2000-2024, vBulletin Solutions Inc.