diff options
author | Bogdano Arendartchuk <bogdano@mandriva.org> | 2008-11-07 19:33:29 +0000 |
---|---|---|
committer | Bogdano Arendartchuk <bogdano@mandriva.org> | 2008-11-07 19:33:29 +0000 |
commit | 487539a7a081c72c8414efe4026f104ff6d92ac3 (patch) | |
tree | 29adbb1501dd9aabc051709bba1c12ca8e65d906 | |
parent | 8c7a71a96ac8b7559e5ac63ec616481638974944 (diff) | |
download | mgarepo-487539a7a081c72c8414efe4026f104ff6d92ac3.tar mgarepo-487539a7a081c72c8414efe4026f104ff6d92ac3.tar.gz mgarepo-487539a7a081c72c8414efe4026f104ff6d92ac3.tar.bz2 mgarepo-487539a7a081c72c8414efe4026f104ff6d92ac3.tar.xz mgarepo-487539a7a081c72c8414efe4026f104ff6d92ac3.zip |
Fixed repsys submit to not explode when there are files not tracked in wc
Newer svn version complain about svn info on files that are not tracked.
-rw-r--r-- | RepSys/rpmutil.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/RepSys/rpmutil.py b/RepSys/rpmutil.py index 57a8dd7..d0be054 100644 --- a/RepSys/rpmutil.py +++ b/RepSys/rpmutil.py @@ -559,7 +559,11 @@ def get_submit_info(path): files.extend(glob.glob("%s/*" % specsdir)) files.extend(glob.glob("%s/*" % sourcesdir)) for file in files: - info = svn.info2(file) + try: + info = svn.info2(file) + except Error: + # possibly not tracked + continue if info is None: continue rawrev = info.get("Last Changed Rev") |