From: Fabian Groffen Date: Mon, 20 Nov 2006 20:53:06 +0000 (-0000) Subject: Also for digests hold that svn list won't show added files, so run svn X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=75cc75bdea8bf6c684783f6bfcb750a9d6c80a3f;p=portage.git Also for digests hold that svn list won't show added files, so run svn status afterwards to get them. svn path=/main/branches/prefix/; revision=5109 --- diff --git a/bin/repoman b/bin/repoman index 2311ba29c..8ae13066d 100755 --- a/bin/repoman +++ b/bin/repoman @@ -924,6 +924,15 @@ for x in scanlist: continue if l[:7] == "digest-": dadded.append(l[7:]) + if isSvn: + myf=os.popen("svn status "+os.path.normpath(checkdir+"/files")) + myl=myf.readlines() + myf.close() + for l in myl: + if l[0] == "A": + l = l.rstrip().split(' ')[-1] + if l[:7] == "digest-": + dadded.append(l[7:]) except IOError: if mymode=="commit" and isCvs: stats["CVS/Entries.IO_error"] += 1