Patchwork [1,of,7] obsstore: drop outdated comment

login
register
mail settings
Submitter Pierre-Yves David
Date Aug. 21, 2014, 3:20 a.m.
Message ID <0cb2d84fd1f94e2d2088.1408591251@marginatus.alto.octopoid.net>
Download mbox | patch
Permalink /patch/5538/
State Accepted
Commit ca2e9cf77033a93d3d8326433be3000bfc18d201
Headers show

Comments

Pierre-Yves David - Aug. 21, 2014, 3:20 a.m.
# HG changeset patch
# User Pierre-Yves David <pierre-yves.david@fb.com>
# Date 1408491977 25200
#      Tue Aug 19 16:46:17 2014 -0700
# Node ID 0cb2d84fd1f94e2d2088f4f2cd8a149360af6caa
# Parent  32a2b293f4920c2c72aa30caa63232717e1439c7
obsstore: drop outdated comment

This comment was associate to a now defunct line.
Pierre-Yves David - Aug. 21, 2014, 4:55 a.m.
On 08/20/2014 08:20 PM, Pierre-Yves David wrote:
> # HG changeset patch
> # User Pierre-Yves David <pierre-yves.david@fb.com>
> # Date 1408491977 25200
> #      Tue Aug 19 16:46:17 2014 -0700
> # Node ID 0cb2d84fd1f94e2d2088f4f2cd8a149360af6caa
> # Parent  32a2b293f4920c2c72aa30caa63232717e1439c7
> obsstore: drop outdated comment

One will want to run evolve 5d063fed9e3d before using this series

>
> This comment was associate to a now defunct line.
>
> diff --git a/mercurial/obsolete.py b/mercurial/obsolete.py
> --- a/mercurial/obsolete.py
> +++ b/mercurial/obsolete.py
> @@ -278,11 +278,10 @@ class obsstore(object):
>
>       def __init__(self, sopener):
>           # caches for various obsolescence related cache
>           self.caches = {}
>           self._all = []
> -        # new markers to serialize
>           self.precursors = {}
>           self.successors = {}
>           self.sopener = sopener
>           data = sopener.tryread('obsstore')
>           if data:
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel@selenic.com
> http://selenic.com/mailman/listinfo/mercurial-devel
>

Patch

diff --git a/mercurial/obsolete.py b/mercurial/obsolete.py
--- a/mercurial/obsolete.py
+++ b/mercurial/obsolete.py
@@ -278,11 +278,10 @@  class obsstore(object):
 
     def __init__(self, sopener):
         # caches for various obsolescence related cache
         self.caches = {}
         self._all = []
-        # new markers to serialize
         self.precursors = {}
         self.successors = {}
         self.sopener = sopener
         data = sopener.tryread('obsstore')
         if data: