Commits

Angel Ezquerra  committed f1b7a37

sync: set the pull source type to local when unbundling

  • Participants
  • Parent commits bdd00cb
  • Branches stable

Comments (0)

Files changed (1)

File tortoisehg/hgqt/sync.py

                                     directory=self.repo.root,
                                     filter=_FILE_FILTER)
         if bundlefile:
+            # Select the "Local" scheme
+            self.schemecombo.setCurrentIndex(0)
+            # Set the pull source to the selected bundle file
             self.pathentry.setText(bundlefile)
+            # Execute the incomming command, which will show the revisions in
+            # the bundle, and let the user accept or reject them
             self.inclicked()
 
     @pyqtSlot(QString)