Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in tip

fogcreek workingctx: fixed crash when adding files from commit dialog

Changeset 2d9af1756f80

Parent 36e87958af73

by David Golub

Changes to one file · Browse files at 2d9af1756f80 Showing diff from parent 36e87958af73 Diff from another changeset...

 
8
9
10
11
 
12
13
14
 
270
271
272
273
274
 
 
 
275
276
277
 
8
9
10
 
11
12
13
14
 
270
271
272
 
 
273
274
275
276
277
278
@@ -8,7 +8,7 @@
 import os    from mercurial import util, error, merge, commands, extensions -from tortoisehg.hgqt import qtlib, htmlui, visdiff, bfprompt +from tortoisehg.hgqt import qtlib, htmlui, visdiff, lfprompt  from tortoisehg.util import hglib, shlib  from tortoisehg.hgqt.i18n import _   @@ -270,8 +270,9 @@
   def add(parent, ui, repo, files):   haslf = 'largefiles' in repo.extensions() - if haslf or 'kbfiles' in repo.extensions(): - result = bfprompt.promptForBfiles(parent, ui, repo, files) + haskbf = 'kbfiles' in repo.extensions() + if haslf or haskbf: + result = lfprompt.promptForLfiles(parent, ui, repo, files, haskbf)   if not result:   return False   files, lfiles = result