sharoz Posted December 28, 2010 Report Share Posted December 28, 2010 I just gave Plastic a try, but it kept giving me an error. Steps to reproduce: 1. Create a new WPF project (C#, but I doubt it matters) 2. Add project to repository 3. Open the main window and add a button 4. Right click MainWindow.xaml -> Plastic SCM -> Diff with Previous 5. Click OK 6. "Exception has been thrown by the target of invocation" Also, I can't figure out how to check into a new branch. Link to comment Share on other sites More sharing options...
miller Posted December 29, 2010 Report Share Posted December 29, 2010 Sharoz, what version of Plastic SCM are you running? open cmd.exe and execute: cm version Miller Link to comment Share on other sites More sharing options...
miller Posted December 29, 2010 Report Share Posted December 29, 2010 Ill follow the steps you indicated and try to reproduce it and get back to you. Link to comment Share on other sites More sharing options...
miller Posted December 29, 2010 Report Share Posted December 29, 2010 Sharoz, I ran your steps one by one and I could not reproduce that generic error you got. see attached. My setup: Windows 7 Pro - 64bit VS2010 Plastic SCM version 3.0.187.14 any more details you can give regarding your setup? does it happen all the time? Miller Link to comment Share on other sites More sharing options...
psantosl Posted December 29, 2010 Report Share Posted December 29, 2010 Hi sharoz, I was able to reproduce your problem but fortunately it is not critical although it will be solved on the next release. First, why does it happen? - It only happens when you diff a "composed" file like the .xaml with an associated .cs and ONLY if you select the two files when it prompts you which one you want and one of them (in your case the .cs) doesn't have a previous revision (recently added, for instance). And, only happens when you've "integrated diff" setup (the default on recent versions, and that's why Miller wasn't able to reproduce it). Second, workarounds: 1- Select only the .xaml and it will work 2- Once the associated .cs has a previous revision to compare with it won't fail 3- You can go to Plastic SCM preferences and change the "diff tool" like I show on the following screenshot. And, of course, we'll get it fixed for the next release, most likely next week. Thanks, pablo Link to comment Share on other sites More sharing options...
miller Posted December 29, 2010 Report Share Posted December 29, 2010 Miller "Thumb-Up" to Pablo! Link to comment Share on other sites More sharing options...
sharoz Posted December 29, 2010 Author Report Share Posted December 29, 2010 Thanks Pablo and Miller! When I selected "Plastic SCM diff tool", it showed this error: "There is not previous revision for MainWindow.xaml.cs" which makes much more sense The .xaml diff worked perfectly. I usually do more design first, so it can be a while before I start hacking away at the code. How about the issue of checking into a new branch? When coding or designing, I'll occasionally do or discover something nifty which isn't stable or useful enough to go into the main branch. Is it possible to branch from within visual studio? Thanks. Link to comment Share on other sites More sharing options...
psantosl Posted December 30, 2010 Report Share Posted December 30, 2010 Hi sharoz, We'll get the issue with the diff solved asap. Seems we broke something when we introduced the "embedded diff". Regarding branching: yes, it is perfectly doable: show the "branch view" (View/PlasticSCM/branches) and then you can branch from there, you know, creating child branches from /main, for instance. You should get used to how Plastic branching works and I recommend you reading our "quick start guide" on the web. http://www.plasticscm.com/infocenter/quick-start.aspx Cheers, pablo Link to comment Share on other sites More sharing options...
miller Posted January 24, 2011 Report Share Posted January 24, 2011 Sharoz, This is fixed in our latest release, please download the 3.0.187.15. http://www.plasticscm.com/download/login.aspx Enjoy!, Miller Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.