Mercurial > hg
changeset 3947:79cf097774ef
pass the extra dict in rawcommit
author | Edouard Gomez <ed.gomez@free.fr> |
---|---|
date | Wed, 20 Dec 2006 23:41:27 +0100 |
parents | eb8ae9bfd5e2 |
children | be5d099e7a62 |
files | mercurial/localrepo.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/localrepo.py Wed Dec 20 12:07:02 2006 -0800 +++ b/mercurial/localrepo.py Wed Dec 20 23:41:27 2006 +0100 @@ -634,11 +634,11 @@ changelist.append(fn) return fl.add(t, meta, transaction, linkrev, fp1, fp2) - def rawcommit(self, files, text, user, date, p1=None, p2=None, wlock=None): + def rawcommit(self, files, text, user, date, p1=None, p2=None, wlock=None, extra={}): if p1 is None: p1, p2 = self.dirstate.parents() return self.commit(files=files, text=text, user=user, date=date, - p1=p1, p2=p2, wlock=wlock) + p1=p1, p2=p2, wlock=wlock, extra=extra) def commit(self, files=None, text="", user=None, date=None, match=util.always, force=False, lock=None, wlock=None,