comparison mercurial/crecord.py @ 51382:e68908edebba

crecord: update uiheader docstring There's no need to move anything to patch.py. The uiheader class only has methods relevant to crecord and overrides __getattr__ in order to use `patch.header` objects as a sort of mixin.
author Jordi Gutiérrez Hermoso <jordigh@octave.org>
date Wed, 14 Feb 2024 22:42:08 -0500
parents 7d85c6e59dd1
children 1d488f7be492
comparison
equal deleted inserted replaced
51381:7d85c6e59dd1 51382:e68908edebba
199 for header in self: 199 for header in self:
200 header.patch = self 200 header.patch = self
201 201
202 202
203 class uiheader(patchnode): 203 class uiheader(patchnode):
204 """patch header 204 """
205 205 patchnode class wrapping a patch.header
206 xxx shouldn't we move this to mercurial/patch.py ?
207 """ 206 """
208 207
209 def __init__(self, header): 208 def __init__(self, header):
210 self.nonuiheader = header 209 self.nonuiheader = header
211 # flag to indicate whether to apply this chunk 210 # flag to indicate whether to apply this chunk