From: Fabian Groffen Date: Sat, 17 Mar 2007 18:06:15 +0000 (-0000) Subject: When using SVN and not signing, commit the Manifest on the first commit, X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=ff2139544835e46688e97ab7f6712536d078212a;p=portage.git When using SVN and not signing, commit the Manifest on the first commit, because the headers won't change, so it's faster... way faster. svn path=/main/branches/prefix/; revision=6239 --- diff --git a/bin/repoman b/bin/repoman index c785d0a15..35d88c82d 100755 --- a/bin/repoman +++ b/bin/repoman @@ -1713,8 +1713,11 @@ elif "--pretend" not in myoptions: # Manifests need to be regenerated after all other commits, so don't commit # them now even if they have changed. - mymanifests = [f for f in mychanged if "Manifest" == os.path.basename(f)] - mychanged = [f for f in mychanged if "Manifest" != os.path.basename(f)] + # However, in SVN mode, the manifest won't change, hence, if we + # don't sign, we can commit it right away, avoiding an extra commit + if not isSvn or "sign" in repoman_settings.features: + mymanifests = [f for f in mychanged if "Manifest" == os.path.basename(f)] + mychanged = [f for f in mychanged if "Manifest" != os.path.basename(f)] myupdates=mychanged+mynew myheaders=[] mydirty=[]