equal
deleted
inserted
replaced
81 } |
81 } |
82 |
82 |
83 defaultdict = collections.defaultdict |
83 defaultdict = collections.defaultdict |
84 |
84 |
85 |
85 |
86 class nullui(object): |
86 class nullui: |
87 """blank ui object doing nothing""" |
87 """blank ui object doing nothing""" |
88 |
88 |
89 debugflag = False |
89 debugflag = False |
90 verbose = False |
90 verbose = False |
91 quiet = True |
91 quiet = True |
95 return |
95 return |
96 |
96 |
97 return nullfunc |
97 return nullfunc |
98 |
98 |
99 |
99 |
100 class emptyfilecontext(object): |
100 class emptyfilecontext: |
101 """minimal filecontext representing an empty file""" |
101 """minimal filecontext representing an empty file""" |
102 |
102 |
103 def __init__(self, repo): |
103 def __init__(self, repo): |
104 self._repo = repo |
104 self._repo = repo |
105 |
105 |
275 branch=None, |
275 branch=None, |
276 extra=extra, |
276 extra=extra, |
277 ) |
277 ) |
278 |
278 |
279 |
279 |
280 class filefixupstate(object): |
280 class filefixupstate: |
281 """state needed to apply fixups to a single file |
281 """state needed to apply fixups to a single file |
282 |
282 |
283 internally, it keeps file contents of several revisions and a linelog. |
283 internally, it keeps file contents of several revisions and a linelog. |
284 |
284 |
285 the linelog uses odd revision numbers for original contents (fctxs passed |
285 the linelog uses odd revision numbers for original contents (fctxs passed |
653 b'inserted', |
653 b'inserted', |
654 b'diff.inserted', |
654 b'diff.inserted', |
655 ) |
655 ) |
656 |
656 |
657 |
657 |
658 class fixupstate(object): |
658 class fixupstate: |
659 """state needed to run absorb |
659 """state needed to run absorb |
660 |
660 |
661 internally, it keeps paths and filefixupstates. |
661 internally, it keeps paths and filefixupstates. |
662 |
662 |
663 a typical use is like filefixupstates: |
663 a typical use is like filefixupstates: |