Mercurial > hg
comparison mercurial/hook.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 | 4f485bd68f1d |
children | aac87f70f38e |
comparison
equal
deleted
inserted
replaced
20176:4c96c50ef937 | 20177:c5f0574034ef |
---|