diff hgext/convert/cvsps.py @ 43807:be8552f25cab

cleanup: fix docstring formatting This is just removing the b'' prefix (except demandimportpy2), and making sure it is triple quoted. I skipped the mapping.py module in zope because that's 3rd party code. Differential Revision: https://phab.mercurial-scm.org/D7539
author Matt Harbison <matt_harbison@yahoo.com>
date Sun, 01 Dec 2019 18:46:10 -0500
parents 313e3a279828
children a736ab681b78
line wrap: on
line diff
--- a/hgext/convert/cvsps.py	Wed Nov 13 20:42:13 2019 +0100
+++ b/hgext/convert/cvsps.py	Sun Dec 01 18:46:10 2019 -0500
@@ -110,7 +110,7 @@
     _scache = {}
 
     def scache(s):
-        b"return a shared version of a string"
+        """return a shared version of a string"""
         return _scache.setdefault(s, s)
 
     ui.status(_(b'collecting CVS rlog\n'))
@@ -711,7 +711,7 @@
     # Sort files in each changeset
 
     def entitycompare(l, r):
-        b'Mimic cvsps sorting order'
+        """Mimic cvsps sorting order"""
         l = l.file.split(b'/')
         r = r.file.split(b'/')
         nl = len(l)