From 487539a7a081c72c8414efe4026f104ff6d92ac3 Mon Sep 17 00:00:00 2001 From: Bogdano Arendartchuk Date: Fri, 7 Nov 2008 19:33:29 +0000 Subject: 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. --- RepSys/rpmutil.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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") -- cgit v1.2.1