public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] portage r11337 - main/trunk/bin
@ 2008-08-06  3:30 Zac Medico (zmedico)
  0 siblings, 0 replies; only message in thread
From: Zac Medico (zmedico) @ 2008-08-06  3:30 UTC (permalink / raw
  To: gentoo-commits

Author: zmedico
Date: 2008-08-06 03:30:32 +0000 (Wed, 06 Aug 2008)
New Revision: 11337

Modified:
   main/trunk/bin/repoman
Log:
Fix `svn status` output parsing to account for "replaced" files indicated
by "R". Thanks to Arfrever.


Modified: main/trunk/bin/repoman
===================================================================
--- main/trunk/bin/repoman	2008-08-06 02:09:45 UTC (rev 11336)
+++ main/trunk/bin/repoman	2008-08-06 03:30:32 UTC (rev 11337)
@@ -1725,7 +1725,7 @@
 
 	if vcs == "svn":
 		svnstatus = os.popen("svn status").readlines()
-		mychanged = [ elem.rstrip()[7:] for elem in svnstatus if elem.startswith("M") ]
+		mychanged = [ elem.rstrip()[7:] for elem in svnstatus if elem[:1] in "MR" ]
 		mynew     = [ elem.rstrip()[7:] for elem in svnstatus if elem.startswith("A") ]
 		myremoved = [ elem.rstrip()[7:] for elem in svnstatus if elem.startswith("D") ]
 		# in contrast to CVS, SVN expands nothing by default.




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

only message in thread, other threads:[~2008-08-06  3:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-06  3:30 [gentoo-commits] portage r11337 - main/trunk/bin Zac Medico (zmedico)

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