As a long time user of Eclipse+SVN, we recently started using AccuRev as SCM tool. Prior to any commits (keeps) I generally switch to the Team Synchronizing perspective to check my changes. From there I then perform a keep operation.
Whilst this works fine for the first keep (from backed), any subsequents edits are differenced against the backed version, not latest kept.
I don't prompt that often, but do lots of keeps. Is it possible to change the behaviour of the Team Synchronizer?
Thanks,
Chris
Using version 2012.1.0 of Eclipse Plug-in for AccuRev, on Eclipse 3.7.1
Are you using something like "Open in Compare Editor" to see the diff from the Team Synchronization view? You should have AccuRev commands direct on the right-click menu from that view, included there would be "Diff Against -> Most Recent Version". That will take your local modifications and compare them against your latest Keep version.
Remember though that Most Recent Version is going to be the latest Keep. So if you Keep the file and then Diff against Most Recent, it will show no changes. If you want to diff against previous Keeps in the workspace when there are multiple, the easiest way is to open the Version Browser (requires WebUI to be enabled) and then you can diff any two versions of the file that have ever existed.
Hope this helps...
~James
Hi James, thanks for the reponse.
Yes, I'm using the 'Open in Compare Editor' which offers me the ability to review my changes and backout changes etc. before commit (keep).
Thanks for the tip, I hadn't noticed you could access the AccuRev commands from that view (generally just double click in syncronize window and file defaults to opening in compare editor).
Is it possible for these AccuRev commands to open in the (Eclipse) compare editor instead of the default AccuRev compare window? That would be my ideal :)
Thanks,
Chris
Yep, you can go to Eclipse preferences, an navigate to Team -> AccuRev. From there, you can select the dropdown for the diff and merge tools and choose Eclipse instead of AccuRev...
You also might notice that you have a Synchronization tab available if you open up the AccuRev perspective, it should behave much the same way as your Synchronization perspective.
Cheers,
~James
CMCrossroads is a TechWell community.
Through conferences, training, consulting, and online resources, TechWell helps you develop and deliver great software every day.