Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.9, 1.9.1, and 1.9.2

commit: add support for tortoisehg.autoinc

Except we offer no way to configure this field. Perhaps it can be added later,
but it is not a priority.

Changeset 7489c15e6671

Parent b55a2ad6fb5e

by Steve Borho

Changes to one file · Browse files at 7489c15e6671 Showing diff from parent b55a2ad6fb5e Diff from another changeset...

 
27
28
29
30
 
31
32
33
 
485
486
487
 
 
 
 
 
 
488
489
490
 
27
28
29
 
30
31
32
33
 
485
486
487
488
489
490
491
492
493
494
495
496
@@ -27,7 +27,7 @@
 # Need a unicode-to-UTF8 function  # +1 / -1 head indication (not as important with workbench integration)  # recent committers history -# pushafterci, autoincludes list +# pushafterci list  # qnew/shelve-patch creation dialog (in another file)  # spell check / tab completion  # in-memory patching / committing chunk selected files @@ -485,6 +485,12 @@
    cmdline = ['commit', '--user', user, '--message', msg]   cmdline += dcmd + brcmd + files + + for fname in repo.ui.config('tortoisehg', 'autoinc', '').split(','): + fname = fname.strip() + if fname: + cmdline.extend(['--include', fname]) +   ret = dispatch._dispatch(_ui, cmdline)   if not ret:   self.addMessageToHistory()