incubator-allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From john...@apache.org
Subject [2/10] git commit: [#5037] ticket:202 remove redundant return
Date Mon, 03 Dec 2012 23:57:04 GMT
[#5037] ticket:202 remove redundant return


Project: http://git-wip-us.apache.org/repos/asf/incubator-allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-allura/commit/a33bfe7f
Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/a33bfe7f
Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/a33bfe7f

Branch: refs/heads/master
Commit: a33bfe7f7459be83a4c57dfe2a6697647ce2b0a2
Parents: 234d94e
Author: Igor Bondarenko <jetmind2@gmail.com>
Authored: Wed Nov 7 13:29:19 2012 +0000
Committer: Cory Johns <johnsca@geek.net>
Committed: Mon Dec 3 23:56:29 2012 +0000

----------------------------------------------------------------------
 ForgeHg/forgehg/model/hg.py |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/a33bfe7f/ForgeHg/forgehg/model/hg.py
----------------------------------------------------------------------
diff --git a/ForgeHg/forgehg/model/hg.py b/ForgeHg/forgehg/model/hg.py
index 5fffdbc..4526078 100644
--- a/ForgeHg/forgehg/model/hg.py
+++ b/ForgeHg/forgehg/model/hg.py
@@ -321,6 +321,5 @@ class HgImplementation(M.RepositoryImplementation):
         for ctx in cmdutil.walkchangerevs(self._hg, m, opts, lambda *a: None):
             count += 1
         return count
-        return len(self._hg)
 
 Mapper.compile_all()


Mime
View raw message