Package: svn-buildpackage
Version: 0.6.9
Severity: normal

Hi,

First of all, let me thank you for svn-buildpackage, which I have found
to be a truly helpful utility. In fact, I find it so useful, that I want
it to assist with tasks where it currently fails. :-)

Specifically, there are two probably related errors that I have
experienced when working with packages where the original archive
contains files at its root. In such cases, I have been unsuccesful at
modifying upstream files when working in mergeOnUpstream mode.

The Debian package that I am working with is php-pager. As with other
packages created of PHP Pear modules, the original archive for this
package contains a package.xml file at the root of the archive, with the
rest of the files in an appropriately named directory. As long as I
modified none of the upstream files, I was able to succesfully use
svn-buildpackage.

The problem came when I attempted to modify one of the upstream files.
My first attempt was to add the modified file to the subversion
repository (as I have previously done for other packages). When doing
this, I obtained the following error:

   mv: when moving multiple files, last argument must be a directory
   Try `mv --help' for more information.
   Command  mv
   [...]/debian/packages/php-pager/build-area/tmp-0.837188808337913/package.xml
   [...]/debian/packages/php-pager/build-area/tmp-0.837188808337913/Pager-2.3.3
   <1 more argument> failed in
   [...]/debian/packages/php-pager/php-pager, how to continue now? [Qri?]:

When I tried executing the mv command from the command line, it worked
correctly.

As a sanity check on my part, I also tried performing a fresh import of
the package using svn-inject (in an empty repository), with one of the
upstream files already modified. This also failed to perform as I had
expected. Specifically, even though I had only modified a single
upstream file, every file from upstream was imported into my repository
(despite the fact that I specified -o, and was specifically told
"mergeWithUpstream property set".

Anyway, I assume that these are simply corner cases that you haven't
previously encountered. If you think that I am doing something wrong, or
if you would like more information about the erros which I am
experiencing, please let me know.

Charles

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (90, 'testing'), (80, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.11.4
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages svn-buildpackage depends on:
ii  devscripts                    2.8.14     Scripts to make the life of a Debi
ii  perl                          5.8.4-8    Larry Wall's Practical Extraction 
ii  subversion                    1.1.4-2    advanced version control system (a
ii  subversion-tools              1.1.4-2    assorted tools related to Subversi

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to