Pull command tracks the right branch
[mdk.git] / mdk / commands / pull.py
index 2656ce1..fe83469 100644 (file)
@@ -158,7 +158,7 @@ class PullCommand(Command):
                 newBranch = M.generateBranchName(issue, suffix=suffix, version=branch)
                 if not M.git().hasBranch(newBranch):
                     break
-            fetcher.pull(into=newBranch)
+            fetcher.pull(into=newBranch, track=M.get('stablebranch'))
 
     def pickPatches(self, mdl):
         """Prompts the user to pick a patch"""