summaryrefslogtreecommitdiff
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 /bin/repoman
parentRemove redundant 'local line' definition from previous commit. (diff)
downloadportage-multirepo-e693acd9d8ee48ac4628acf3c9f0e6c4c57a794d.tar.gz
portage-multirepo-e693acd9d8ee48ac4628acf3c9f0e6c4c57a794d.tar.bz2
portage-multirepo-e693acd9d8ee48ac4628acf3c9f0e6c4c57a794d.zip
Fix `svn status` output parsing to account for "replaced" files indicated
by "R". Thanks to Arfrever. svn path=/main/trunk/; revision=11337
Diffstat (limited to 'bin/repoman')
-rwxr-xr-xbin/repoman2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/repoman b/bin/repoman
index 04eff733..68f94a30 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.