Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 2.1, 2.1.1, and 2.1.2

chunks: use qtlib.editfiles

Changeset e8f38c4c6aa1

Parent 8ec956dabf0f

by Steve Borho

Changes to one file · Browse files at e8f38c4c6aa1 Showing diff from parent 8ec956dabf0f Diff from another changeset...

 
15
16
17
18
 
19
20
21
 
141
142
143
144
145
 
 
146
147
148
 
15
16
17
 
18
19
20
21
 
141
142
143
 
 
144
145
146
147
148
@@ -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