Patchwork [3,of,3] filelog: fix backwards comment for 'backrevref'

login
register
mail settings
Submitter Martin von Zweigbergk
Date Jan. 12, 2015, 7:12 p.m.
Message ID <cb67539b4c09b8a99a26.1421089974@martinvonz.mtv.corp.google.com>
Download mbox | patch
Permalink /patch/7437/
State Accepted
Commit c137eb37c1409af3690bc4746766364f783cc97c
Headers show

Comments

Martin von Zweigbergk - Jan. 12, 2015, 7:12 p.m.
# HG changeset patch
# User Martin von Zweigbergk <martinvonz@google.com>
# Date 1421084816 28800
#      Mon Jan 12 09:46:56 2015 -0800
# Node ID cb67539b4c09b8a99a26c3fdfeb3da0ed0c60d00
# Parent  896e07bfe7c627e5cb3be2ef17e13c3c3a698415
filelog: fix backwards comment for 'backrevref'
Augie Fackler - Jan. 12, 2015, 11:01 p.m.
On Mon, Jan 12, 2015 at 11:12:54AM -0800, Martin von Zweigbergk wrote:
> # HG changeset patch
> # User Martin von Zweigbergk <martinvonz@google.com>
> # Date 1421084816 28800
> #      Mon Jan 12 09:46:56 2015 -0800
> # Node ID cb67539b4c09b8a99a26c3fdfeb3da0ed0c60d00
> # Parent  896e07bfe7c627e5cb3be2ef17e13c3c3a698415
> filelog: fix backwards comment for 'backrevref'

Queued these, thanks.

>
> diff --git a/mercurial/revset.py b/mercurial/revset.py
> --- a/mercurial/revset.py
> +++ b/mercurial/revset.py
> @@ -799,7 +799,7 @@
>          files = (f for f in repo[None] if m(f))
>
>      for f in files:
> -        backrevref = {}  # final value for: changerev -> filerev
> +        backrevref = {}  # final value for: filerev -> changerev
>          lowestchild = {} # lowest known filerev child of a filerev
>          delayed = []     # filerev with filtered linkrev, for post-processing
>          lowesthead = None # cache for manifest content of all head revisions
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel@selenic.com
> http://selenic.com/mailman/listinfo/mercurial-devel

Patch

diff --git a/mercurial/revset.py b/mercurial/revset.py
--- a/mercurial/revset.py
+++ b/mercurial/revset.py
@@ -799,7 +799,7 @@ 
         files = (f for f in repo[None] if m(f))
 
     for f in files:
-        backrevref = {}  # final value for: changerev -> filerev
+        backrevref = {}  # final value for: filerev -> changerev
         lowestchild = {} # lowest known filerev child of a filerev
         delayed = []     # filerev with filtered linkrev, for post-processing
         lowesthead = None # cache for manifest content of all head revisions