Changeset e8f38c4c6aa1…
Parent 8ec956dabf0f…
by
Changes to one file · Browse files at e8f38c4c6aa1 Showing diff from parent 8ec956dabf0f Diff from another changeset...
@@ -15,7 +15,7 @@ from tortoisehg.util import hglib
from tortoisehg.util.patchctx import patchctx
from tortoisehg.hgqt.i18n import _
-from tortoisehg.hgqt import qtlib, thgrepo, qscilib, lexers, wctxactions
+from tortoisehg.hgqt import qtlib, thgrepo, qscilib, lexers
from tortoisehg.hgqt import filelistmodel, filelistview, fileview
from PyQt4.QtCore import *
@@ -141,8 +141,8 @@ if isinstance(ctx, patchctx):
path = ctx._path
else:
- path = self.repo.wjoin(self.currentFile)
- wctxactions.edit(self, self.repo.ui, self.repo, [path])
+ path = self.currentFile
+ qtlib.editfiles(self.repo, [path], parent=self)
def getSelectedFileAndChunks(self):
chunks = self.diffbrowse.curchunks
|
Loading...