public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] portage r11755 - main/branches/prefix/bin
@ 2008-10-30 21:16 Fabian Groffen (grobian)
  0 siblings, 0 replies; only message in thread
From: Fabian Groffen (grobian) @ 2008-10-30 21:16 UTC (permalink / raw
  To: gentoo-commits

Author: grobian
Date: 2008-10-30 21:16:03 +0000 (Thu, 30 Oct 2008)
New Revision: 11755

Modified:
   main/branches/prefix/bin/repoman
Log:
recheck what changed in the repository also when nothing was added, because manifest regeneration might change the Manifest, this fixes bug #229033

Modified: main/branches/prefix/bin/repoman
===================================================================
--- main/branches/prefix/bin/repoman	2008-10-30 21:13:23 UTC (rev 11754)
+++ main/branches/prefix/bin/repoman	2008-10-30 21:16:03 UTC (rev 11755)
@@ -1696,10 +1696,9 @@
 		sys.exit(1)
 
 	if vcs == "cvs":
-		if myautoadd:
-			mycvstree = cvstree.getentries("./", recursive=1)
-			mychanged = cvstree.findchanged(mycvstree, recursive=1, basedir="./")
-			mynew = cvstree.findnew(mycvstree, recursive=1, basedir="./")
+		mycvstree = cvstree.getentries("./", recursive=1)
+		mychanged = cvstree.findchanged(mycvstree, recursive=1, basedir="./")
+		mynew = cvstree.findnew(mycvstree, recursive=1, basedir="./")
 		myremoved=portage.cvstree.findremoved(mycvstree,recursive=1,basedir="./")
 		bin_blob_pattern = re.compile("^-kb$")
 		no_expansion = set(portage.cvstree.findoption(mycvstree, bin_blob_pattern,
@@ -1707,10 +1706,9 @@
 
 
 	if vcs == "svn":
-		if myautoadd:
-			svnstatus = os.popen("svn status").readlines()
-			mychanged = [ "./" + elem.split()[-1:][0] for elem in svnstatus if elem and elem[:1] in "MR" ]
-			mynew     = [ "./" + elem.split()[-1:][0] for elem in svnstatus if elem.startswith("A") ]
+		svnstatus = os.popen("svn status").readlines()
+		mychanged = [ "./" + elem.split()[-1:][0] for elem in svnstatus if elem and elem[:1] in "MR" ]
+		mynew     = [ "./" + elem.split()[-1:][0] for elem in svnstatus if elem.startswith("A") ]
 		myremoved = [ "./" + elem.split()[-1:][0] for elem in svnstatus if elem.startswith("D") ]
 		# in contrast to CVS, SVN expands nothing by default.
 		# bin_blobs historically




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-10-30 21:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-30 21:16 [gentoo-commits] portage r11755 - main/branches/prefix/bin Fabian Groffen (grobian)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox