--- a/hgkw/keyword.py Thu Jun 12 16:32:16 2008 +0200
+++ b/hgkw/keyword.py Fri Jun 13 17:41:26 2008 +0200
@@ -599,23 +599,26 @@
force_editor, p1, p2, extra, empty_ok):
'''Private commit wrapper for backwards compatibility.'''
try:
- return super(kwrepo, self).commit(files, text, user, date,
- match, force,
- lock=lock, wlock=wlock,
- force_editor=force_editor,
- p1=p1, p2=p2, extra=extra)
+ return super(kwrepo,
+ self).commit(files=files, text=text,
+ user=user, date=date, match=match,
+ force=force, lock=lock, wlock=wlock,
+ force_editor=force_editor,
+ p1=p1, p2=p2, extra=extra)
except TypeError:
try:
return super(kwrepo,
- self).commit(files, text, user, date,
- match, force,
+ self).commit(files=files, text=text,
+ user=user, date=date,
+ match=match, force=force,
force_editor=force_editor,
p1=p1, p2=p2, extra=extra,
empty_ok=empty_ok)
except TypeError:
return super(kwrepo,
- self).commit(files, text, user, date,
- match, force,
+ self).commit(files=files, text=text,
+ user=user, date=date,
+ match=match, force=force,
force_editor=force_editor,
p1=p1, p2=p2, extra=extra)
@@ -694,9 +697,11 @@
elif node1 is not None and node1 != repo.dirstate.parents()[0]:
kwt.restrict = True
try:
- patch_diff(repo, node1, node2, files, match, fp, changes, opts)
+ patch_diff(repo, node1=node1, node2=node2, files=files,
+ match=match, fp=fp, changes=changes, opts=opts)
except TypeError:
- patch_diff(repo, node1, node2, match, fp, changes, opts)
+ patch_diff(repo, node1=node1, node2=node2, match=match, fp=fp,
+ changes=changes, opts=opts)
patch_diff = patch.diff
patch.diff = kw_diff