##// END OF EJS Templates
flagprocessors: use _processflagswrite for write operation...
marmoute -
r43145:db4af1cb default
parent child Browse files
Show More
@@ -135,7 +135,7 b' class remotefilelog(flagutil.flagprocess'
135 node = storageutil.hashrevisionsha1(text, p1, p2)
135 node = storageutil.hashrevisionsha1(text, p1, p2)
136
136
137 meta, metaoffset = storageutil.parsemeta(text)
137 meta, metaoffset = storageutil.parsemeta(text)
138 rawtext, validatehash = self._processflags(text, flags, 'write')
138 rawtext, validatehash = self._processflagswrite(text, flags)
139 return self.addrawrevision(rawtext, transaction, linknode, p1, p2,
139 return self.addrawrevision(rawtext, transaction, linknode, p1, p2,
140 node, flags, cachedelta,
140 node, flags, cachedelta,
141 _metatuple=(meta, metaoffset))
141 _metatuple=(meta, metaoffset))
@@ -1823,7 +1823,7 b' class revlog(flagutil.flagprocessorsmixi'
1823 if flags:
1823 if flags:
1824 node = node or self.hash(text, p1, p2)
1824 node = node or self.hash(text, p1, p2)
1825
1825
1826 rawtext, validatehash = self._processflags(text, flags, 'write')
1826 rawtext, validatehash = self._processflagswrite(text, flags)
1827
1827
1828 # If the flag processor modifies the revision data, ignore any provided
1828 # If the flag processor modifies the revision data, ignore any provided
1829 # cachedelta.
1829 # cachedelta.
@@ -452,7 +452,7 b' class filestorage(flagutil.flagprocessor'
452 if flags:
452 if flags:
453 node = node or storageutil.hashrevisionsha1(text, p1, p2)
453 node = node or storageutil.hashrevisionsha1(text, p1, p2)
454
454
455 rawtext, validatehash = self._processflags(text, flags, 'write')
455 rawtext, validatehash = self._processflagswrite(text, flags)
456
456
457 node = node or storageutil.hashrevisionsha1(text, p1, p2)
457 node = node or storageutil.hashrevisionsha1(text, p1, p2)
458
458
General Comments 0
You need to be logged in to leave comments. Login now