tags 377404 + patch
thanks

This bug is due to svn-b reading the changes file to determine files
to move. Thus, the .orig.tar.gz is not moved when -sa is not used
and the Debian revision >1.

My suggestion is to conditionally move it as well, if it exists:

--- /tmp/svn-buildpackage 2006-08-03 23:22:11.864199140 +0100
+++ /usr/bin/svn-buildpackage 2006-08-03 23:39:16.810260275 +0100
@@ -299,7 +299,7 @@
 # packages with dashes)
 if($tagVersion =~ /-/) {
    my $abs_origfile=long_path($origfile);
-   my $orig_target="$ba/".$orig;
+   $orig_target="$ba/".$orig;
    if($opt_verbose) {
       print "Trying different methods to export the upstream source:\n";
       print " - making hard or symbolic link from $origExpect\n" if 
(!$opt_nolinks);
@@ -494,6 +494,7 @@
             while(<$ch>) { push(@newfiles, $1) 
if(/^\s\w+\s\d+\s\S+\s\w+\s(.+)\n/); }
             close($ch);
             push(@newfiles, "$ba/$chfile");
+            push(@newfiles, "$orig_target") if -e $orig_target;
 
             if($opt_move) {
                 $retval=!withechoNoPrompt("mv", @newfiles, $destdir);

-- 
Please do not send copies of list mail to me; I read the list!
 
 .''`.     martin f. krafft <[EMAIL PROTECTED]>
: :'  :    proud Debian developer and author: http://debiansystem.info
`. `'`
  `-  Debian - when you have better things to do than fixing a system

Attachment: signature.asc
Description: Digital signature (GPG/PGP)

Reply via email to