Patchwork rebase: fix code comment to refer to right issue (4504, not 4505)

login
register
mail settings
Submitter via Mercurial-devel
Date Feb. 2, 2017, 4:31 p.m.
Message ID <32f1e1af6ffbf9b93935.1486053109@martinvonz.mtv.corp.google.com>
Download mbox | patch
Permalink /patch/18298/
State Accepted
Headers show

Comments

via Mercurial-devel - Feb. 2, 2017, 4:31 p.m.
# HG changeset patch
# User Martin von Zweigbergk <martinvonz@google.com>
# Date 1485967647 28800
#      Wed Feb 01 08:47:27 2017 -0800
# Branch stable
# Node ID 32f1e1af6ffbf9b93935c33ea510af81d2bef214
# Parent  2d6b86cadc1039f7cf72b64c29399bebe02e7dd3
rebase: fix code comment to refer to right issue (4504, not 4505)

The comment was introduced in 8a544fb645bb (rebase: ensure rebase
revision remains visible (issue4504), 2015-01-27), which mentions the
right issue in the description.
Yuya Nishihara - Feb. 3, 2017, 1:21 p.m.
On Thu, 02 Feb 2017 08:31:49 -0800, Martin von Zweigbergk via Mercurial-devel wrote:
> # HG changeset patch
> # User Martin von Zweigbergk <martinvonz@google.com>
> # Date 1485967647 28800
> #      Wed Feb 01 08:47:27 2017 -0800
> # Branch stable
> # Node ID 32f1e1af6ffbf9b93935c33ea510af81d2bef214
> # Parent  2d6b86cadc1039f7cf72b64c29399bebe02e7dd3
> rebase: fix code comment to refer to right issue (4504, not 4505)

Queued, thanks.

Patch

diff -r 2d6b86cadc10 -r 32f1e1af6ffb hgext/rebase.py
--- a/hgext/rebase.py	Mon Jan 30 18:03:17 2017 -0500
+++ b/hgext/rebase.py	Wed Feb 01 08:47:27 2017 -0800
@@ -1367,7 +1367,7 @@ 
     """store the currently rebased set on the repo object
 
     This is used by another function to prevent rebased revision to because
-    hidden (see issue4505)"""
+    hidden (see issue4504)"""
     repo = repo.unfiltered()
     revs = set(revs)
     repo._rebaseset = revs
@@ -1383,7 +1383,7 @@ 
         del repo._rebaseset
 
 def _rebasedvisible(orig, repo):
-    """ensure rebased revs stay visible (see issue4505)"""
+    """ensure rebased revs stay visible (see issue4504)"""
     blockers = orig(repo)
     blockers.update(getattr(repo, '_rebaseset', ()))
     return blockers