mercurial/bundle2.py
changeset 30872 1f51b4658f21
parent 30871 e527c11375a4
child 30965 f01df5d2fe49
equal deleted inserted replaced
30871:e527c11375a4 30872:1f51b4658f21
   859         # - None: not started,
   859         # - None: not started,
   860         # - False: currently generated,
   860         # - False: currently generated,
   861         # - True: generation done.
   861         # - True: generation done.
   862         self._generated = None
   862         self._generated = None
   863         self.mandatory = mandatory
   863         self.mandatory = mandatory
       
   864 
       
   865     def __repr__(self):
       
   866         cls = "%s.%s" % (self.__class__.__module__, self.__class__.__name__)
       
   867         return ('<%s object at %x; id: %s; type: %s; mandatory: %s>'
       
   868                 % (cls, id(self), self.id, self.type, self.mandatory))
   864 
   869 
   865     def copy(self):
   870     def copy(self):
   866         """return a copy of the part
   871         """return a copy of the part
   867 
   872 
   868         The new part have the very same content but no partid assigned yet.
   873         The new part have the very same content but no partid assigned yet.