Commit 6f15ba03 authored by Jason R. Coombs's avatar Jason R. Coombs

Merge fix with master

parents a61674f1 d505855a
...@@ -2,6 +2,13 @@ ...@@ -2,6 +2,13 @@
CHANGES CHANGES
======= =======
-----
2.1.1
-----
* Issue #139: Fix regression in re_finder for CVS repos (and maybe Git repos
as well).
--- ---
2.1 2.1
--- ---
......
...@@ -40,7 +40,7 @@ class re_finder(object): ...@@ -40,7 +40,7 @@ class re_finder(object):
path = self.postproc(path) path = self.postproc(path)
yield svn_utils.joinpath(dirname,path) yield svn_utils.joinpath(dirname,path)
def __call__(self, dirname=''): def find(self, dirname=''):
path = svn_utils.joinpath(dirname, self.path) path = svn_utils.joinpath(dirname, self.path)
if os.path.isfile(path): if os.path.isfile(path):
...@@ -50,6 +50,7 @@ class re_finder(object): ...@@ -50,6 +50,7 @@ class re_finder(object):
elif os.path.isdir(path): elif os.path.isdir(path):
for item in self.find(path): for item in self.find(path):
yield item yield item
__call__ = find
def _default_revctrl(dirname=''): def _default_revctrl(dirname=''):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment