D6801: flagprocessors: use _processflagswrite for write operation
marmoute (Pierre-Yves David)
phabricator at mercurial-scm.org
Sat Sep 7 13:04:08 EDT 2019
Closed by commit rHGdb4af1cb128a: flagprocessors: use _processflagswrite for write operation (authored by marmoute).
This revision was automatically updated to reflect the committed changes.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D6801?vs=16406&id=16439
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D6801/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D6801
AFFECTED FILES
hgext/remotefilelog/remotefilelog.py
mercurial/revlog.py
tests/simplestorerepo.py
CHANGE DETAILS
diff --git a/tests/simplestorerepo.py b/tests/simplestorerepo.py
--- a/tests/simplestorerepo.py
+++ b/tests/simplestorerepo.py
@@ -452,7 +452,7 @@
if flags:
node = node or storageutil.hashrevisionsha1(text, p1, p2)
- rawtext, validatehash = self._processflags(text, flags, 'write')
+ rawtext, validatehash = self._processflagswrite(text, flags)
node = node or storageutil.hashrevisionsha1(text, p1, p2)
diff --git a/mercurial/revlog.py b/mercurial/revlog.py
--- a/mercurial/revlog.py
+++ b/mercurial/revlog.py
@@ -1823,7 +1823,7 @@
if flags:
node = node or self.hash(text, p1, p2)
- rawtext, validatehash = self._processflags(text, flags, 'write')
+ rawtext, validatehash = self._processflagswrite(text, flags)
# If the flag processor modifies the revision data, ignore any provided
# cachedelta.
diff --git a/hgext/remotefilelog/remotefilelog.py b/hgext/remotefilelog/remotefilelog.py
--- a/hgext/remotefilelog/remotefilelog.py
+++ b/hgext/remotefilelog/remotefilelog.py
@@ -135,7 +135,7 @@
node = storageutil.hashrevisionsha1(text, p1, p2)
meta, metaoffset = storageutil.parsemeta(text)
- rawtext, validatehash = self._processflags(text, flags, 'write')
+ rawtext, validatehash = self._processflagswrite(text, flags)
return self.addrawrevision(rawtext, transaction, linknode, p1, p2,
node, flags, cachedelta,
_metatuple=(meta, metaoffset))
To: marmoute, yuja, durin42, indygreg, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list