From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1KRDel-00080v-Ex for garchives@archives.gentoo.org; Thu, 07 Aug 2008 22:08:27 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 03270E05F9; Thu, 7 Aug 2008 22:08:27 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id D4407E05F9 for ; Thu, 7 Aug 2008 22:08:26 +0000 (UTC) Received: from stork.gentoo.org (stork.gentoo.org [64.127.104.133]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 6D3D866766 for ; Thu, 7 Aug 2008 22:08:26 +0000 (UTC) Received: from zmedico by stork.gentoo.org with local (Exim 4.69) (envelope-from ) id 1KRDej-0001cU-BG for gentoo-commits@lists.gentoo.org; Thu, 07 Aug 2008 22:08:25 +0000 To: gentoo-commits@lists.gentoo.org From: "Zac Medico (zmedico)" Subject: [gentoo-commits] portage r11344 - main/trunk/bin X-VCS-Repository: portage X-VCS-Revision: 11344 X-VCS-Files: main/trunk/bin/repoman X-VCS-Directories: main/trunk/bin X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico Content-Type: text/plain; charset=UTF-8 Message-Id: Sender: Zac Medico Date: Thu, 07 Aug 2008 22:08:25 +0000 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 4cd2554d-278a-456d-a28a-8b357fc1d68e X-Archives-Hash: b90c056f3207d99116c878590b7e2dd5 Author: zmedico Date: 2008-08-07 22:08:24 +0000 (Thu, 07 Aug 2008) New Revision: 11344 Modified: main/trunk/bin/repoman Log: When testing containment of elem[:1] in "MR", filter potential empty stri= ng matches. Modified: main/trunk/bin/repoman =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- main/trunk/bin/repoman 2008-08-07 14:00:24 UTC (rev 11343) +++ main/trunk/bin/repoman 2008-08-07 22:08:24 UTC (rev 11344) @@ -1676,7 +1676,7 @@ =20 if vcs =3D=3D "svn": svnstatus =3D os.popen("svn status").readlines() - mychanged =3D [ elem.rstrip()[7:] for elem in svnstatus if elem[:1] in= "MR" ] + mychanged =3D [ elem.rstrip()[7:] for elem in svnstatus if elem and el= em[:1] in "MR" ] mynew =3D [ elem.rstrip()[7:] for elem in svnstatus if elem.starts= with("A") ] myremoved =3D [ elem.rstrip()[7:] for elem in svnstatus if elem.starts= with("D") ] # in contrast to CVS, SVN expands nothing by default.