diff mercurial/hg.py @ 814:0902ffece4b4

Merge with BOS
author mpm@selenic.com
date Sat, 30 Jul 2005 09:00:14 -0800
parents 8f5637f0a0c0 80fd2958235a
children 8674b7803714 89985a1b3427
line wrap: on
line diff
--- a/mercurial/hg.py	Sat Jul 30 08:35:29 2005 -0800
+++ b/mercurial/hg.py	Sat Jul 30 09:00:14 2005 -0800
@@ -773,7 +773,8 @@
         if update_dirstate:
             self.dirstate.setparents(n, nullid)
 
-    def commit(self, files = None, text = "", user = None, date = None):
+    def commit(self, files = None, text = "", user = None, date = None,
+               match = util.always):
         commit = []
         remove = []
         if files:
@@ -786,7 +787,7 @@
                 else:
                     self.ui.warn("%s not tracked!\n" % f)
         else:
-            (c, a, d, u) = self.changes()
+            (c, a, d, u) = self.changes(match = match)
             commit = c + a
             remove = d