summaryrefslogtreecommitdiffstats
path: root/bin/repoman
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <Arfrever@Gentoo.Org>2010-10-23 18:26:02 +0200
committerZac Medico <zmedico@gentoo.org>2010-10-27 07:34:30 -0700
commit49a3ada01a67589b61633e558e081db388d322d8 (patch)
treee11848e6711b59a52161bd157029019b6910244a /bin/repoman
parent67c0d95b81cd733e397a138ae9ca532e87cef125 (diff)
downloadportage-49a3ada01a67589b61633e558e081db388d322d8.tar.gz
portage-49a3ada01a67589b61633e558e081db388d322d8.tar.bz2
portage-49a3ada01a67589b61633e558e081db388d322d8.zip
Allow repoman to commit files, which have changes only in SVN properties.
Diffstat (limited to 'bin/repoman')
-rwxr-xr-xbin/repoman6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/repoman b/bin/repoman
index 55b67e6bc..0cdc0db8b 100755
--- a/bin/repoman
+++ b/bin/repoman
@@ -2148,9 +2148,9 @@ else:
if vcs == "svn":
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") ]
+ mychanged = [ "./" + elem.split()[-1:][0] for elem in svnstatus if elem and (elem[0] in "MR" or elem[1] in "M")]
+ 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
# were just there to see what files need to be checked for