Patchwork [03,of,10] bundlerepo: remove unused disktiprev attribute

login
register
mail settings
Submitter Mads Kiilerich
Date Jan. 16, 2013, 7:57 p.m.
Message ID <ebdfe3960b9267462368.1358366247@mk-desktop>
Download mbox | patch
Permalink /patch/663/
State Accepted
Commit a928865b4a4f0d0b70134603bd9ffca13edfde73
Headers show

Comments

Mads Kiilerich - Jan. 16, 2013, 7:57 p.m.
# HG changeset patch
# User Mads Kiilerich <madski@unity3d.com>
# Date 1358365301 -3600
# Node ID ebdfe3960b92674623689f198853070ae84a72b6
# Parent  e246188705491d7faa73afb13cfcd1ac79fd9dd3
bundlerepo: remove unused disktiprev attribute
tonfa - Jan. 16, 2013, 8:16 p.m.
LGTM


On Wed, Jan 16, 2013 at 8:57 PM, Mads Kiilerich <mads@kiilerich.com> wrote:

> # HG changeset patch
> # User Mads Kiilerich <madski@unity3d.com>
> # Date 1358365301 -3600
> # Node ID ebdfe3960b92674623689f198853070ae84a72b6
> # Parent  e246188705491d7faa73afb13cfcd1ac79fd9dd3
> bundlerepo: remove unused disktiprev attribute
>
> diff --git a/mercurial/bundlerepo.py b/mercurial/bundlerepo.py
> --- a/mercurial/bundlerepo.py
> +++ b/mercurial/bundlerepo.py
> @@ -33,7 +33,6 @@
>          self.bundle = bundle
>          self.basemap = {}
>          n = len(self)
> -        self.disktiprev = n - 1
>          chain = None
>          self.bundlerevs = set() # used by 'bundle()' revset expression
>          while True:
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel@selenic.com
> http://selenic.com/mailman/listinfo/mercurial-devel
>

Patch

diff --git a/mercurial/bundlerepo.py b/mercurial/bundlerepo.py
--- a/mercurial/bundlerepo.py
+++ b/mercurial/bundlerepo.py
@@ -33,7 +33,6 @@ 
         self.bundle = bundle
         self.basemap = {}
         n = len(self)
-        self.disktiprev = n - 1
         chain = None
         self.bundlerevs = set() # used by 'bundle()' revset expression
         while True: