~bzr-eclipse/bzr-eclipse/trunk

« back to all changes in this revision

Viewing changes to org.vcs.bazaar.eclipse.ui/src/org/vcs/bazaar/eclipse/ui/operations/CheckoutBazaarProjectOperation.java

  • Committer: Piotr Piastucki
  • Date: 2013-09-26 12:31:48 UTC
  • mfrom: (366.1.3 bzr-eclipse-pp)
  • Revision ID: piotr_piastucki-20130926123148-v182l4l2kfzkxqst
MergeĀ lp:~piastucki/bzr-eclipse/branch-location-manager

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
import org.vcs.bazaar.eclipse.core.commands.CheckoutCommand;
27
27
import org.vcs.bazaar.eclipse.core.commands.IBazaarCommand;
28
28
import org.vcs.bazaar.eclipse.core.model.IBzrBranch;
29
 
import org.vcs.bazaar.eclipse.core.repository.BranchLocationManager;
 
29
import org.vcs.bazaar.eclipse.ui.branch.BranchLocationManager;
30
30
 
31
31
/**
32
32
 * Operation for creating project(s) from a Bazaar branch.
87
87
                                op = new CheckoutCommand(remoteBranch, projectLocation, options.toArray(new Option[0]));
88
88
                        }
89
89
                        op.run(monitor);
90
 
                        BranchLocationManager.getInstance().addRepoLocation(remoteBranch);
 
90
                        BranchLocationManager.saveBranchLocation(remoteBranch.getBranchLocation().toString());
91
91
                } catch (Exception e) {
92
92
                        throw new InvocationTargetException(e);
93
93
                }