repoman: only assume cvs preserves mtimes
authorZac Medico <zmedico@gentoo.org>
Sun, 1 Apr 2012 17:15:57 +0000 (10:15 -0700)
committerZac Medico <zmedico@gentoo.org>
Sun, 1 Apr 2012 17:15:57 +0000 (10:15 -0700)
bin/repoman

index 419790050832551bf1d98cfaef69dbccdded933f..076d4042ffc536d5b83d1e99eda940a0939c6d31 100755 (executable)
@@ -547,7 +547,7 @@ if options.if_modified == "y" and vcs is None:
        options.if_modified = "n"
 
 # Disable copyright/mtime check if vcs does not preserve mtime (bug #324075).
-vcs_preserves_mtime = vcs not in ('git', 'svn')
+vcs_preserves_mtime = vcs in ('cvs',)
 
 vcs_local_opts = repoman_settings.get("REPOMAN_VCS_LOCAL_OPTS", "").split()
 vcs_global_opts = repoman_settings.get("REPOMAN_VCS_GLOBAL_OPTS")