Skip to content
Permalink
Browse files

[FIXED JENKINS-12261] UI fix for checkout option

  • Loading branch information...
stevebrook authored and emonty committed Dec 31, 2011
1 parent 9bf2bcb commit ddcd518098dea0b9044ec25940fd81b9fb45d4bb
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/main/java/hudson/plugins/bazaar/BazaarSCM.java
@@ -93,7 +93,7 @@ public boolean isClean() {
* True if we want to use checkout --lightweight
* @return
*/
public boolean useCheckout() {
public boolean isCheckout() {
return checkout;
}

@@ -267,7 +267,7 @@ private boolean update(boolean clean, AbstractBuild<?, ?> build, Launcher launch
private boolean pull(AbstractBuild<?, ?> build, Launcher launcher, FilePath workspace, BuildListener listener) throws InterruptedException {
ArgumentListBuilder args = new ArgumentListBuilder();
String verb = null;
if (useCheckout()) {
if (isCheckout()) {
verb = "update";
args.add(getDescriptor().getBzrExe(),
verb,
@@ -314,7 +314,7 @@ private boolean branch(AbstractBuild<?, ?> build, Launcher launcher, FilePath wo
return false;
}

String verb = useCheckout() ? "checkout" : "branch";
String verb = isCheckout() ? "checkout" : "branch";
ArgumentListBuilder args = new ArgumentListBuilder();
args.add(getDescriptor().getBzrExe(),
verb,

0 comments on commit ddcd518

Please sign in to comment.
You can’t perform that action at this time.