mercurial/localrepo.py
changeset 34097 f7d41b85bbf6
parent 33803 707750e5310b
child 34100 1632999d4bed
equal deleted inserted replaced
34096:f85dfde1731a 34097:f7d41b85bbf6
    29     changelog,
    29     changelog,
    30     color,
    30     color,
    31     context,
    31     context,
    32     dirstate,
    32     dirstate,
    33     dirstateguard,
    33     dirstateguard,
       
    34     discovery,
    34     encoding,
    35     encoding,
    35     error,
    36     error,
    36     exchange,
    37     exchange,
    37     extensions,
    38     extensions,
    38     filelog,
    39     filelog,
   287 
   288 
   288     def changegroup(self, basenodes, source):
   289     def changegroup(self, basenodes, source):
   289         return changegroup.changegroup(self._repo, basenodes, source)
   290         return changegroup.changegroup(self._repo, basenodes, source)
   290 
   291 
   291     def changegroupsubset(self, bases, heads, source):
   292     def changegroupsubset(self, bases, heads, source):
   292         return changegroup.changegroupsubset(self._repo, bases, heads, source)
   293         outgoing = discovery.outgoing(self._repo, missingroots=bases,
       
   294                                       missingheads=heads)
       
   295         return changegroup.makechangegroup(self._repo, outgoing, '01', source)
   293 
   296 
   294     # End of baselegacywirecommands interface.
   297     # End of baselegacywirecommands interface.
   295 
   298 
   296 # Increment the sub-version when the revlog v2 format changes to lock out old
   299 # Increment the sub-version when the revlog v2 format changes to lock out old
   297 # clients.
   300 # clients.