From e693acd9d8ee48ac4628acf3c9f0e6c4c57a794d Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 6 Aug 2008 03:30:32 +0000 Subject: [PATCH] Fix `svn status` output parsing to account for "replaced" files indicated by "R". Thanks to Arfrever. svn path=/main/trunk/; revision=11337 --- bin/repoman | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- 2.26.2