Patchwork [2,of,6] revlog: delete obsolete comment

login
register
mail settings
Submitter via Mercurial-devel
Date June 15, 2017, 10:25 p.m.
Message ID <d10d1530971d42bda170.1497565529@martinvonz.svl.corp.google.com>
Download mbox | patch
Permalink /patch/21414/
State Accepted
Headers show

Comments

via Mercurial-devel - June 15, 2017, 10:25 p.m.
# HG changeset patch
# User Martin von Zweigbergk <martinvonz@google.com>
# Date 1497558341 25200
#      Thu Jun 15 13:25:41 2017 -0700
# Node ID d10d1530971d42bda170afbf5df78935a86e3e9f
# Parent  6ca5567b543933b97926305a05a08764efc3aaf0
revlog: delete obsolete comment

The comment seems to refer to code that was deleted in 557988c691d1
(revlog.addgroup(): always use _addrevision() to add new revlog
entries, 2010-10-08).

Patch

diff --git a/mercurial/revlog.py b/mercurial/revlog.py
--- a/mercurial/revlog.py
+++ b/mercurial/revlog.py
@@ -1854,7 +1854,6 @@ 
         this revlog and the node that was added.
         """
 
-        # track the base of the current delta log
         content = []
 
         r = len(self)