hgext/censor.py
changeset 37442 0596d27457c6
parent 32376 46ba2cdda476
child 38446 e219e355e088
--- a/hgext/censor.py	Thu Apr 05 15:18:23 2018 -0700
+++ b/hgext/censor.py	Thu Apr 05 18:22:35 2018 -0700
@@ -32,7 +32,6 @@
 
 from mercurial import (
     error,
-    filelog,
     lock as lockmod,
     registrar,
     revlog,
@@ -106,7 +105,7 @@
         raise error.Abort(
             _('censor does not support revlog version %d') % (flogv,))
 
-    tombstone = filelog.packmeta({"censored": tombstone}, "")
+    tombstone = revlog.packmeta({"censored": tombstone}, "")
 
     crev = fctx.filerev()