-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

I have implemented a patch for #373295.

Is really non-intrusive, short and does exactly what I wanted it to do.

Patch is attached. Please commit and include it in the next release of
svn-buildpackage.

- --
Regards,
EddyP
=============================================
"Imagination is more important than knowledge" A.Einstein
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFb/gAY8Chqv3NRNoRApuyAJ9ErkDZPG60iO3yMcD7jizMDxS9swCaA/Y9
OLE/gBBaaXYluc3WBRCFouY=
=WoEB
-----END PGP SIGNATURE-----
--- SDCommon.pm~        2006-10-24 11:02:38.000000000 +0300
+++ SDCommon.pm 2006-12-01 03:29:55.000000000 +0200
@@ -304,7 +304,17 @@
          $fromFile=$defCfgFile;
       }
       else {
-         print "$cfgFile not found, autodetecting settings...\n";
+         print "$cfgFile not found, importing settings via Subversion 
properties... \n";
+         foreach ( $prop, `svn proplist debian | grep 'svn-bp:'` ) {
+            # import every svn-bp:* property as a cfg
+            if(/\s*svn-bp:(\S+)\s*/) {
+               $val=`svn propget svn-bp:$1 debian | head -n1 | tr -d '\n'`;
+               $val=~ s/\ ~/\ $ENV{"HOME"}/;
+               $c{$1}=$val;
+               print "\t$1: $val\n";
+            }
+         }
+         print "Autodetecting remaining properties... \n";
       }
    }
       

Reply via email to