repoman: tweak commit logic wrt thin-manifest
authorZac Medico <zmedico@gentoo.org>
Fri, 7 Oct 2011 15:04:19 +0000 (08:04 -0700)
committerZac Medico <zmedico@gentoo.org>
Fri, 7 Oct 2011 15:04:19 +0000 (08:04 -0700)
Don't populate the "myheaders" variable when we have thin-manifests
that contain only DIST entries.

bin/repoman

index 6b6a1974e426f9a52521362d22965a7f67385c4d..ec227ed41c253485dcdae001bba3efda8f601286 100755 (executable)
@@ -2336,7 +2336,7 @@ else:
                # there's no need to regenerate manifests and all files will be
                # committed in one big commit at the end.
                print()
-       else:
+       elif not repo_config.thin_manifest:
                if vcs == 'cvs':
                        headerstring = "'\$(Header|Id).*\$'"
                elif vcs == "svn":