[meld] vc.mercurial: Fix commit of selected files (#165)



commit b605acb4f9a5da8512d672e5dee164e3652d102b
Author: Kai Willadsen <kai willadsen gmail com>
Date:   Fri Feb 23 05:32:51 2018 +1000

    vc.mercurial: Fix commit of selected files (#165)

 meld/vc/mercurial.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/meld/vc/mercurial.py b/meld/vc/mercurial.py
index d49196d0..041542bc 100644
--- a/meld/vc/mercurial.py
+++ b/meld/vc/mercurial.py
@@ -47,7 +47,7 @@ class Vc(_vc.Vc):
 
     def commit(self, runner, files, message):
         command = [self.CMD, 'commit', '-m', message]
-        runner(command, [], refresh=True, working_dir=self.root)
+        runner(command, files, refresh=True, working_dir=self.root)
 
     def update(self, runner):
         command = [self.CMD, 'pull', '-u']


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]