changegroup: drop 'if True' that made the previous change clearer
authorAugie Fackler <augie@google.com>
Fri, 04 Dec 2015 10:35:45 -0500
changeset 27238 c3dc03109401
parent 27237 c08814b48ae5
child 27239 65c47779bcb5
changegroup: drop 'if True' that made the previous change clearer
mercurial/changegroup.py
--- a/mercurial/changegroup.py	Fri Dec 04 10:34:58 2015 -0500
+++ b/mercurial/changegroup.py	Fri Dec 04 10:35:45 2015 -0500
@@ -673,17 +673,16 @@
             if not fastpathlinkrev:
                 mdata = ml.readfast(x)
                 for f in mfchangedfiles[x]:
-                    if True:
-                        try:
-                            n = mdata[f]
-                        except KeyError:
-                            continue
-                        # record the first changeset introducing this filelog
-                        # version
-                        fclnodes = fnodes.setdefault(f, {})
-                        fclnode = fclnodes.setdefault(n, clnode)
-                        if clrevorder[clnode] < clrevorder[fclnode]:
-                            fclnodes[n] = clnode
+                    try:
+                        n = mdata[f]
+                    except KeyError:
+                        continue
+                    # record the first changeset introducing this filelog
+                    # version
+                    fclnodes = fnodes.setdefault(f, {})
+                    fclnode = fclnodes.setdefault(n, clnode)
+                    if clrevorder[clnode] < clrevorder[fclnode]:
+                        fclnodes[n] = clnode
             return clnode
 
         mfnodes = self.prune(ml, mfs, commonrevs)