Fix for handling deleted files in packages when closing a branch in Aegis.
authorstevenknight <stevenknight@fdb21ef1-2011-0410-befe-b5e4ea1792b1>
Fri, 3 May 2002 15:08:17 +0000 (15:08 +0000)
committerstevenknight <stevenknight@fdb21ef1-2011-0410-befe-b5e4ea1792b1>
Fri, 3 May 2002 15:08:17 +0000 (15:08 +0000)
git-svn-id: http://scons.tigris.org/svn/scons/trunk@361 fdb21ef1-2011-0410-befe-b5e4ea1792b1

SConstruct

index 8e56006b18d61c0bdfa9e9abdf6eaa4d10982434..25f4fbfa7c9bb7e3332453618d89d90cb45d8050 100644 (file)
@@ -738,10 +738,7 @@ if change:
     for line in map(lambda x: x[:-1], os.popen(cmd, "r").readlines()):
         a = string.split(line)
         if a[1] == "remove":
-            if a[3][0] == '(':
-                df.append(a[4])
-            else:
-                df.append(a[3])
+            df.append(a[-1])
 
     cmd = "aegis -list -terse pf 2>/dev/null"
     pf = map(lambda x: x[:-1], os.popen(cmd, "r").readlines())