[PATCH] revlog: clarify strip docstring "readd" -> "re-add"

Steven Brown stevengbrown at gmail.com
Tue Jan 10 14:38:54 UTC 2012


# HG changeset patch
# User Steven Brown <StevenGBrown at gmail.com>
# Date 1326206125 -28800
# Node ID 14e17ab6ce7f014b426cc989f8c8d958300e5bf5
# Parent  94a4748db392c2bd03b05db64151fe7bea8bd102
revlog: clarify strip docstring "readd" -> "re-add"

I misread it as "read".

diff --git a/mercurial/revlog.py b/mercurial/revlog.py
--- a/mercurial/revlog.py
+++ b/mercurial/revlog.py
@@ -1207,7 +1207,7 @@
 
         So we truncate the revlog on the first of these revisions, and
         trust that the caller has saved the revisions that shouldn't be
-        removed and that it'll readd them after this truncation.
+        removed and that it'll re-add them after this truncation.
         """
         if len(self) == 0:
             return



More information about the Mercurial-devel mailing list