Mercurial > public > mercurial-scm > hg
comparison mercurial/localrepo.py @ 8403:553909cd1baa
commit: drop unused p1 and p2 args
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Thu, 14 May 2009 13:20:40 -0500 |
parents | 0ad521500424 |
children | a2bc39ade36b |
comparison
equal
deleted
inserted
replaced
8402:0ad521500424 | 8403:553909cd1baa |
---|---|
765 if fparent1 != fparent2o and manifest1.flags(fname) != fctx.flags(): | 765 if fparent1 != fparent2o and manifest1.flags(fname) != fctx.flags(): |
766 changelist.append(fname) | 766 changelist.append(fname) |
767 | 767 |
768 return fparent1 | 768 return fparent1 |
769 | 769 |
770 def commit(self, files=None, text="", user=None, date=None, | 770 def commit(self, files=None, text="", user=None, date=None, match=None, |
771 match=None, force=False, force_editor=False, | 771 force=False, force_editor=False, extra={}, empty_ok=False): |
772 p1=None, p2=None, extra={}, empty_ok=False): | |
773 wlock = lock = None | 772 wlock = lock = None |
774 if extra.get("close"): | 773 if extra.get("close"): |
775 force = True | 774 force = True |
776 if files: | 775 if files: |
777 files = list(set(files)) | 776 files = list(set(files)) |