Also for digests hold that svn list won't show added files, so run svn
authorFabian Groffen <grobian@gentoo.org>
Mon, 20 Nov 2006 20:53:06 +0000 (20:53 -0000)
committerFabian Groffen <grobian@gentoo.org>
Mon, 20 Nov 2006 20:53:06 +0000 (20:53 -0000)
status afterwards to get them.

svn path=/main/branches/prefix/; revision=5109

bin/repoman

index 2311ba29c5f44076f92b14ec7008c284538a2854..8ae13066d0b6e3260d2baa9bbaf3eb69bdb6b571 100755 (executable)
@@ -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