Mercurial > public > mercurial-scm > hg
comparison mercurial/revlog.py @ 15827:1dacf7672556
revlog: clarify strip docstring "readd" -> "re-add"
I misread it as "read".
author | Steven Brown <StevenGBrown@gmail.com> |
---|---|
date | Tue, 10 Jan 2012 22:35:25 +0800 |
parents | ee112eb69d2a |
children | fa15869bf95c |
comparison
equal
deleted
inserted
replaced
15826:e859e80944d0 | 15827:1dacf7672556 |
---|---|
1205 the equivalent changelog revisions will be renumbered after the | 1205 the equivalent changelog revisions will be renumbered after the |
1206 strip. | 1206 strip. |
1207 | 1207 |
1208 So we truncate the revlog on the first of these revisions, and | 1208 So we truncate the revlog on the first of these revisions, and |
1209 trust that the caller has saved the revisions that shouldn't be | 1209 trust that the caller has saved the revisions that shouldn't be |
1210 removed and that it'll readd them after this truncation. | 1210 removed and that it'll re-add them after this truncation. |
1211 """ | 1211 """ |
1212 if len(self) == 0: | 1212 if len(self) == 0: |
1213 return | 1213 return |
1214 | 1214 |
1215 for rev in self: | 1215 for rev in self: |