MercurialEclipse icons after pull

180 Views Asked by At

I'm new to Mercurial and MercurialEclipse, and I think I'm not quite understanding this: After I pull from the central repository (with Update After Pull selected), it is my understanding that all files are loaded form the central repo to my local repo. However, after I pull, I'm seeing the following:

enter image description here

Doesn't the star icon indicate that there are differences between my local copy and the central copy? What am I missing here? How do I make sure that my files are the most recent copies?

2

There are 2 best solutions below

1
David Levesque On BEST ANSWER

Try right-clicking on your Eclipse project and select Team --> Refresh Status. I often have to do that for the status icons to be updated.

Edit: if you want to override all local changes, select the checkbox "Clean update (override local changes)" in the Pull dialog of Eclipse.

1
johnpeb On

When you update it merges the local changes you have with the changes in the revision you are updating to. In the update dialog if you select the "force" checkbox it will revert any uncommitted changes. Other ways to remove your local changes are updating by right clicking on a revision in the history view and selecting "switch to", or use the "revert" dialog.