5 ms·
As far as I can tell, you get it automatically when using CVS or SVN. And no, it's not just what people are used to. Earlier this year, me and another guy conv
by shiranaihito 17y ago
As far as I can tell, you get it automatically when using CVS or SVN.
And no, it's not just what people are used to. Earlier this year, me and another guy converted a few developers from Eclipse to IDEA and they were all really happy about discovering it.
- ilyak 17y agoI do not understand what's "automatically"? I want to see which changes are due, and which changes are to be imported. Like one does in eclipse under Team -> Synchronize with repository. I fail to find such a mode in IDEA. Noone is yet to point me to it.
- shiranaihito 17y agoWell, in my experience IDEA gives you a "visual merge" when there are conflicts. You have a three-column view with the local version on the left, the merge in the middle, and the changes on the server on the right. Then you can pick and choose which changes to include and which ones to revert, and their locations are all marked with red and green colors on the sides (of the columns). I assume that's what you meant, and I don't remember ever having to "opt in" for that functionality. Btw, it's possible that the people on #java were all using Eclipse :)
- ilyak 17y ago"You no understand" (c) The Italian Man Who Went To Malta I'm not asking for a visual merge "when there are conflicts". I'm asking for a visual merge NOW; because I said so. Because if it fails to produce the said visual merge, it gets thrown off the window - exactly what's happened. And it's more than visual merge; I also want a tree of files that have been changed, on both sides; and I want to look at diffs when clicking on them; and to choose what to update, what to commit. It's very much more than just a dumb commit all/update. Nope, those people on ##java are really passionate about IDEA.
- shiranaihito 17y agoWell, apparently Eclipse has more functionality for this specific purpose. That may be enough for you to completely dismiss IDEA in a fit of self-righteous prejudice, but that doesn't mean IDEA isn't a better product overall. You can choose specific files to commit or update in IDEA too, but I guess that's no good either if it doesn't happen exactly where you want it to. Why do you want a visual merge even when there are no conflicts though? You could just edit out everything that shouldn't be committed, and then commit.
- mosburger 17y agoI'm not going to speak for ilyak, but some people (myself included, sometimes), want to see the results of a merge even when there are no conflicts, because we don't trust merges to always go right. There are occasions where subtle bugs can get introduced by botched merges. Having said that, I'm way less disciplined than I used to be, so I've gotten so I just trust the merge. The mentors who taught me the ropes with version control systems would not be impressed.
- jbellis 17y ago> The mentors who taught me the ropes with version control systems would not be impressed. Or maybe they've also realized it's not 1992 anymore.
- mosburger 17y agoIt also probably has a lot to do with what kind of software you're developing. In my case, we were writing firmware for prototypes that cost over $2000 and were easily destroyed by bad code. That's bad, but not nearly as bad as code that could endanger human life or perhaps code that handles large financial transactions. If you're just developing a web application or twitter client, it's probably not worth being so anal-retentive about it.
- ilyak 17y agoI was told that I should use Changes | Local and Changes | Incoming in IDEA. If it really works (didn't check) then IDEA would be fine. Still I'd prefer these modes to be merged.
- jan_g 17y agoHm, maybe you didn't search thoroughly enough ? Or maybe I don't understand what you're asking for. Anyways, try Version control->Show changes view. With this you open Changes plugin and under Local tab you will have browsable local changes and under Incoming tab you will have browsable pending updates. You can then compare every file that was/will be changed.