Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Intellij Community
Commits
c06ae5d0
Commit
c06ae5d0
authored
8 years ago
by
Nadya Zabrodina
Browse files
Options
Download
Email Patches
Plain Diff
[hg]: cleanUp
parent
bcaa360c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
plugins/hg4idea/src/org/zmlx/hg4idea/branch/HgBranchPopup.java
+2
-8
...ns/hg4idea/src/org/zmlx/hg4idea/branch/HgBranchPopup.java
with
2 additions
and
8 deletions
+2
-8
plugins/hg4idea/src/org/zmlx/hg4idea/branch/HgBranchPopup.java
+
2
-
8
View file @
c06ae5d0
...
...
@@ -25,6 +25,7 @@ import com.intellij.openapi.actionSystem.DefaultActionGroup;
import
com.intellij.openapi.components.ServiceManager
;
import
com.intellij.openapi.project.Project
;
import
com.intellij.openapi.util.Condition
;
import
com.intellij.openapi.util.Conditions
;
import
com.intellij.util.containers.ContainerUtil
;
import
org.jetbrains.annotations.NotNull
;
import
org.jetbrains.annotations.Nullable
;
...
...
@@ -68,14 +69,7 @@ public class HgBranchPopup extends DvcsBranchPopup<HgRepository> {
HgProjectSettings
hgProjectSettings
=
ServiceManager
.
getService
(
project
,
HgProjectSettings
.
class
);
HgMultiRootBranchConfig
hgMultiRootBranchConfig
=
new
HgMultiRootBranchConfig
(
manager
.
getRepositories
());
Condition
<
AnAction
>
preselectActionCondition
=
new
Condition
<
AnAction
>()
{
@Override
public
boolean
value
(
AnAction
action
)
{
return
false
;
}
};
return
new
HgBranchPopup
(
currentRepository
,
manager
,
hgMultiRootBranchConfig
,
hgProjectSettings
,
preselectActionCondition
);
return
new
HgBranchPopup
(
currentRepository
,
manager
,
hgMultiRootBranchConfig
,
hgProjectSettings
,
Conditions
.
alwaysFalse
());
}
private
HgBranchPopup
(
@NotNull
HgRepository
currentRepository
,
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment