Package: svn-buildpackage
Version: 0.8.0
Severity: important
Tags: patch

--- Please enter the report below this line. ---

Tagging fails:

...
svn -m [svn-buildpackage] Tagging vdr (1.6.0-17ctvdr1) -rBASE cp . 
svn+e-tobi://e-tobi.net/vdr/tags/1.6.0-17ctvdr1
svn: ».« ist keine Arbeitskopie
Command 'svn -m [svn-buildpackage] Tagging vdr (1.6.0-17ctvdr1) -rBASE cp . 
svn+e-tobi://e-tobi.net/vdr/tags/1.6.0-17ctvdr1' failed in 
'/home/tobias/sandbox/vdr/e-tobi/build-area', how 

It tries to to the cp in the exported copy, instead of the checked out working 
dir. This was probably introduced with the changes for #478697.
The --svn-tag-only option is not affected.

The solution is to chdir back to the svn working dir before running `svn cp`. 
See attached patch.

Hope this was helpful,

Tobias

--- System information. ---
Architecture: amd64
Kernel:       Linux 2.6.32-trunk-amd64

Debian Release: squeeze/sid
 1001 testing         www.debian-multimedia.org 
 1001 testing         ftp.de.debian.org 

--- Package information. ---
Depends                       (Version) | Installed
=======================================-+-=============
subversion                              | 1.6.9dfsg-1
devscripts                 (>= 2.10.54) | 2.10.64
perl                                    | 5.10.1-12
libsvn-perl                             | 1.6.9dfsg-1
file                                    | 5.04-2
wget                                    | 1.12-2
unp                                     | 1.0.15
liburi-perl                             | 1.54-1
libcapture-tiny-perl                    | 0.07-1
libfile-libmagic-perl                   | 0.96-1
liblocale-gettext-perl                  | 1.05-6


Recommends      (Version) | Installed
=========================-+-===========
debhelper                 | 7.4.17


Package's Suggests field is empty.




Index: svn-buildpackage
===================================================================
--- svn-buildpackage	(Revision 16072)
+++ svn-buildpackage	(Arbeitskopie)
@@ -812,9 +812,9 @@
       # Translators: relates to the use of --svn-tag
       printf (_g("Tagging %s (%s)\n"), $package, $tagVersion);
       # change from 'withecho' to output the translated string to user only
+      mychdir $$c{"trunkDir"};
       withecho ("svn", "-m", "$scriptname Tagging $package $tagVersion ", "-rBASE", "cp", ".", $$c{"tagsUrl"}."/$tagVersion");
       system "$opt_posttag" if($opt_posttag);
-      mychdir $$c{"trunkDir"};
       dchIfNeeded;
    }
 

Reply via email to