Found yet another bug in the get_files function:
--------------
def get_files(paths):
if not paths:
paths = ["."]
files = []
for p in paths:
if os.path.isdir(p):
dir = p
else:
dir = os.path.dirname(p)
_files = execute(["svn", "list", "--recursive", p],
split_lines=True)
_files = [os.path.join(dir, file) for file in _files]
_files = [os.path.abspath(f) for f in _files]
for f in _files:
if os.path.isfile(f):
files.append(f)
# return sorted list of files. convert to set and back to list to
remove duplicates
return sort_and_remove_duplicates(files)
------------
Guess I'll stop spamming the list with this now....
--- Jeppe
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"reviewboard" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/reviewboard?hl=en
-~----------~----~----~----~------~----~------~--~---