##// END OF EJS Templates
outgoing: adds some default value for argument...
Pierre-Yves David -
r29805:f09d0004 default
parent child Browse files
Show More
@@ -76,10 +76,15 b' class outgoing(object):'
76 76 The sets are computed on demand from the heads, unless provided upfront
77 77 by discovery.'''
78 78
79 def __init__(self, repo, commonheads, missingheads):
79 def __init__(self, repo, commonheads=None, missingheads=None):
80 cl = repo.changelog
81 if not missingheads:
82 missingheads = cl.heads()
83 if not commonheads:
84 commonheads = [nullid]
80 85 self.commonheads = commonheads
81 86 self.missingheads = missingheads
82 self._revlog = repo.changelog
87 self._revlog = cl
83 88 self._common = None
84 89 self._missing = None
85 90 self.excluded = []
General Comments 0
You need to be logged in to leave comments. Login now