IDEA-113922 incorrect statusbar text when hover Mercurial > Update to fixed

This commit is contained in:
Nadya Zabrodina
2013-12-08 19:02:00 +04:00
parent 07631d3af1
commit a1f95fa14d
2 changed files with 3 additions and 2 deletions
@@ -3,7 +3,7 @@ group.hg4idea.file.menu.text=Mercurial
action.hg4idea.tag.text=Tag Repository...
action.hg4idea.tag.description=Create a tag for current revision
action.hg4idea.updateTo.text=Update to...
action.hg4idea.updateTo.description=Updating to {0}...
action.hg4idea.updateTo.description=Update the repository's working directory to the specified changeset.
action.hg4idea.push.text=Push...
action.hg4idea.push.description=Push outgoing commits
action.hg4idea.pull.text=Pull...
@@ -102,6 +102,7 @@ hg4idea.progress.updatingworkingdir=Updating local working directory
hg4idea.progress.integrating=Integrating {0} ...
hg4idea.progress.merging=Performing merge...
hg4idea.progress.updating=Updating {0} ...
hg4idea.progress.updatingTo=Updating to {0}...
hg4idea.progress.countingHeads=Checking number of heads...
hg4idea.progress.pull.with.rebase=Rebasing patches
hg4idea.progress.pull.with.update=Updating repository
@@ -57,7 +57,7 @@ public class HgUpdateToAction extends HgAbstractGlobalAction {
String updateToValue = dialog.isBranchSelected()
? dialog.getBranch().getName()
: dialog.isTagSelected() ? dialog.getTag().getName() : dialog.getRevision();
new Task.Backgroundable(project, HgVcsMessages.message("action.hg4idea.updateTo.description", updateToValue)) {
new Task.Backgroundable(project, HgVcsMessages.message("hg4idea.progress.updatingTo", updateToValue)) {
@Override
public void run(@NotNull ProgressIndicator indicator) {