summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/repoman1
-rw-r--r--pym/repoman/utilities.py4
2 files changed, 5 insertions, 0 deletions
diff --git a/bin/repoman b/bin/repoman
index 42a615420..8f42a38d0 100755
--- a/bin/repoman
+++ b/bin/repoman
@@ -654,6 +654,7 @@ if vcs is None:
# TODO: shouldn't this just be switched on the repo, iso the VCS?
check_changelog = options.echangelog not in ('y', 'force') and vcs in ('cvs', 'svn')
+logging.debug("vcs: %s" % (vcs,))
logging.debug("repo config: %s" % (repo_config,))
logging.debug("options: %s" % (options,))
diff --git a/pym/repoman/utilities.py b/pym/repoman/utilities.py
index 81fa5e7c7..c42c4c59d 100644
--- a/pym/repoman/utilities.py
+++ b/pym/repoman/utilities.py
@@ -522,6 +522,10 @@ def FindVCS():
else:
outvcs = seek()
+ if len(outvcs) > 1:
+ # eliminate duplicates, like for svn in bug #391199
+ outvcs = list(set(outvcs))
+
return outvcs
_copyright_re1 = re.compile(br'^(# Copyright \d\d\d\d)-\d\d\d\d ')