I am using both subversive and subclipse svn plug-ins and I was wondering if possible to show all the authors changes under the history. From what I can tell, under
team -> show history
It only display the top 25 recent history changes. How do I make it show all changes for a particular author? or can this not be done with eclipse?
For the general case, as described by #alroc all metadata must be retrieved and filtered. This is described in the why properties? section of the svn book. See the box Searchability (or, Why Not Properties).
In Subversive, from the history pane select Show All. After the history is retrieved you can apply a filter.
Related
Is it possible in EGit to see the simple history of a file?
Team > Show in history shows all commits to all files. Not useful.
I am looking for the history of a file. There is a button in the History view that says Show changes to selected resource but no way to select a resource.
There also does not appear to be any way to compare with a specific version unless that version has a tag.
The pieces seem to be there, but are they put together properly?
(No complex branching or other cleverness. I normally use the command line for this type of work but should not have to.)
You can open a file (or select it from project explorer) and do:
Right Click -> Team -> Show in history. This will open the following view:
The filter circled in red is: "Show all changes of selected resource and its children" which basically will filter only the commits that relate in any way to the resource you've selected (you can chose the different filters to get a better understanding of how they differ from each other).
The problem was that the Team > Show in History needs to be run from the Project Explorer window. When I first found those scoping buttons I right clicked on the class file's edit window and did the Team > Show in History there. That appears to be broken and only shows all changes.
(Thank you for your replies. Knowing that it could be done and by those scope buttons let me look further. I rarely use the Project Explorer, preferring to just type the class/file name into the Navigate dialog.)
Some other answers suggest clicking on Team > Show in History. This menu item does not show up. Instead, Team > Show Local History shows up.
I have Git Staging tab open all the time. I saved a small change to the file I wanted to see the history of. This caused the file to show up in the Unstaged Changes in Git Staging. I then right-clicked on the file, clicked on Show In and then History. This showed me the history of the file according to Git.
I'm using MercurialEclipse 2.1.0 (looks like latest) with Eclipse Indigo.
I can't seem to find a way to see the entire history of a file as available in remote 'central' repository (e.g. like it works with SVN) -- the history only seems to show up to the revision that I currently have in the workspace (in other words in e.g. Synchronize view (in workspace mode) I can see that there are 'incoming' changes in file but 'Show History' wouldn't show me anything about these changes).
Even if I 'Pull' (without 'Update') and check file history it still seems to stop at the current revision.
Anything I can do?
Is there any way
With MercurialEclipse the Synchronize view works best with the "Mercurial Changesets" model. Switching to that will show all of the incoming changesets (be sure the "All branches" button is pressed).
For the 2nd item, having pulled all the changesets, you can see all history if you press the up arrow button in the history view once. This will show all history for the folder that contains the file.
I just created an ignore-on-commit changelist as described in SVN: Is there a way to mark a file as "do not commit"? and it's awesome on the command line, making it much easier to view the changes I care about in the command line.
Having all this power and organization now I select all my projects in eclipse and go to Team > Commit and there is no notion of changelists in the commit dialog and I still have to go through all the changes and tediously select which files to commit.
Am I missing something in Eclipse' Subversive that would allow me to use changelists in the commit dialog?
I found the following setting, but it doesn't seem to change anything...
I see two possibilities here:
1. Using svn:ignore
The easiest solution would be to add the files you don't want to commit to your svn:ignore list.
You can do it in Subversive through the Team>Add to svn:ignore... menu:
2. Using change sets
The alternative is to :
go in the Synchronize view
click the Show Change Sets button
you can then add changed files to change sets (and create new change sets) from the right-click menu.
You can find more information in the Subversive documentation.
I have installed the MercurialEclipse plugin. I am finding it very hard to use.
I have been using the Mercurial support in NetBeans for a while now, there are many things I would like to be able to do in Eclipse if possible:
In NetBeans any changes to source code are highlighted in the line
number area. New code is green, modified code is blue, and removed
code is red.
Files in the project explorer appear as blue or green for modified
and new respectively.
In NetBeans I can right click any directory in the project explorer
and go to Mercurial->diff to get a visual diff for all files (in the
directory I clicked) that have changed since the last commit.
When I right click a directory in Eclipse I am given a compare with but
with only 1 option (each other) that is disabled.
Even worse, when I
right click an actual file I know has changed and go to compare with I am
given 3 options (local history, parent changeset, different
changeset). If I click parent changeset it does not give me a diff. I assume this is beacause its the first time the file has changed since 3 commits ago. Which doesn't make since, I just want to see what I have changed to review it before commiting. I would like this to show me the changes I have made since my last commit i.e. the changes I will be committing.
Please note I am not trying to bash on Eclipse and I am not trying to Praise NetBeans. I am just wanting to know if there is a way to setup a workflow in Eclipse like I am used to in NetBeans.
Some of the things you are requesting are not specific to the VCS you are using, they are part of the Eclipse Team support, so they will work with any VCS system.
1) Showing the code changes: The closest Eclipse has to that is Team -> Show Annotations, but I don't think this will show the added/changed/deleted lines from the current version. I would file an enhancement request to Eclipse about this.
2) Eclipse shows different icons for added and changed files. You should see a blue + for an added file and a brown * for a changed file.
3) To easily get a diff from what's committed, you can do Team -> Synchronize. This brings up the Synchronize View. Another way is you can do a Team -> Commit at any level and then in the listing of the files, double-click the file which will bring up the comparison between the files (that will show one file at a time). Another thing you can do is select Compare -> Another Revision... and select the desired revision in the dialog (this will show all enclosed files in a single compare editor). Finally, the Compare -> Parent Changeset on a specific file does shows the changes from the committed parent for me, even if it was not changed in the most recent revision. It's possible you have encountered a bug in Mercurial Eclipse.
Be sure you are using the latest version of Eclispe and also Mercurial Eclipse. Mercurial Eclipse is pretty active and they are adding and fixing things all the time. I tested this on Eclipse 3.7.1 with Mercurial Ecipse 1.9.1.
This is an older question, but i had the same problem, and found this info useful.
I'm transitioning from netbeans to eclipse. I'm no expert but:
For text highligting you can use the "quick diff"
a. Windows -> preferences -> General -> editors -> quickdiff
b. enabling quick diff with mercurial quickdiff seems to mimic netbeans mostly.
For diff's of a changeset of files. I think you need to use the Team Syncroniztion perspective as is mentioned before. Its actually pretty slick once you get used to it.
I want Eclipse to show in the overview rules the diffs between what I have in memory (or on disk) and what's in ClearCase. I've set the preferences shown below, but it seems to be showing the diffs between what's in memory and what's on disk. In other words, every time I save, no diffs are shown.
alt text http://img63.imageshack.us/img63/8937/eclipsew.png
Does this feature only work if using CVS for SCCS?
Update
I'm using the unofficial ClearCase plugin, i.e. not the one developed by IBM
Thanks,
Don
The diff you reference is only for the internal history, and is not linked to the official ClearCase IBM plugin for Eclipse.
The IBM plugin only calls an external diff tool, to show the difference between the last checked-in version and what is in your (snapshot or dynamic) view.