Mercurial > hg
diff mercurial/node.py @ 20177:c5f0574034ef
largefiles: call super class method with proper kwargs to respect API
Since the localrepositoyry.push() method in mercurial/localrepo.py is defined
this way:
def push(self, remote, force=False, revs=None, newbranch=False):
it is better for largefiles to call push() on the super class with proper
kwargs to respect the API.
This will avoid breaking other extensions overriding the push method this way:
def push(self, remote, force=False, **kwargs):
author | Long Vu <long@tlvu.ca> |
---|---|
date | Tue, 03 Dec 2013 13:28:04 -0500 |
parents | 25e572394f5c |
children | 1a5211f2f87f |