summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-08-06 03:30:32 +0000
committerZac Medico <zmedico@gentoo.org>2008-08-06 03:30:32 +0000
commite693acd9d8ee48ac4628acf3c9f0e6c4c57a794d (patch)
tree5f42facc27a5dfcd48f051b3dec604ed2292400e
parent154e12ade2e1f65606a43fcbc0ccd2238286d120 (diff)
downloadportage-e693acd9d8ee48ac4628acf3c9f0e6c4c57a794d.tar.gz
portage-e693acd9d8ee48ac4628acf3c9f0e6c4c57a794d.tar.bz2
portage-e693acd9d8ee48ac4628acf3c9f0e6c4c57a794d.zip
Fix `svn status` output parsing to account for "replaced" files indicated
by "R". Thanks to Arfrever. svn path=/main/trunk/; revision=11337
-rwxr-xr-xbin/repoman2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/repoman b/bin/repoman
index 04eff733f..68f94a30d 100755
--- a/bin/repoman
+++ b/bin/repoman
@@ -1725,7 +1725,7 @@ else:
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.