Changeset 8b6719a7dbc5…
Parent 47eecf5c9b02…
by
Changes to one file · Browse files at 8b6719a7dbc5 Showing diff from parent 47eecf5c9b02 Diff from another changeset...
@@ -28,6 +28,7 @@ from tortoisehg.hgqt.filedialogs import FileLogDialog, FileDiffDialog
from tortoisehg.hgqt.manifestdialog import ManifestDialog
from tortoisehg.hgqt.dialogmixin import HgDialogMixin
+from tortoisehg.hgqt.update import UpdateDialog
from tortoisehg.hgqt.quickbar import FindInGraphlogQuickBar
from tortoisehg.hgqt.helpdialog import HelpDialog
from tortoisehg.hgqt import cmdui
@@ -441,10 +442,8 @@ self._manifestdlg.show()
def updateToRevision(self, rev):
- print "workbench: updateToRevision called, rev=%s" % rev
- args = ['update']
- args += ['-r', str(rev)]
- dlg = cmdui.Dialog(args)
+ opts = {}
+ dlg = UpdateDialog(rev, self.repo, opts=opts)
dlg.show()
self._updatedlg = dlg
|
Loading...