Bug#363003: svn-buildpackage: doesn't follow svn:externals

2007-07-18 Thread Gonéri Le Bouder
The problem occur only with a local source directory and is fixed on subersion
project repository: 
http://svn.haxx.se/dev/archive-2007-07/0204.shtml

I suggest this work around.

--- /usr/bin/svn-buildpackage.save  2007-07-18 21:00:16.0 +0200
+++ /usr/bin/svn-buildpackage   2007-07-18 22:01:12.0 +0200
@@ -404,14 +404,14 @@
   }
}
if($opt_nolinks || $opt_ignnew) {
-  withecho (svn, --force, export, $$c{trunkDir},$bdir);
+  withecho (svn, --force, export, $$c{trunkUrl},$bdir);
}
else {
   mkdir $bdir;
   #fixme maybe rewrite to withecho
   if( !withechoNoPrompt(mkdir,-p, map { $bdir/$_ } @dirs) || 
!withechoNoPrompt(cp, --parents, -laf, @files, $bdir))
   { # cp failed...
- withecho svn, --force, export, $$c{trunkDir},$bdir;
+ withecho svn, --force, export, $$c{trunkUrl},$bdir;
   }
}
withecho rm, -rf, $ba/tmp-$mod;

Best regards,

Gonéri


signature.asc
Description: Digital signature


Bug#363003: svn-buildpackage: doesn't follow svn:externals

2006-12-26 Thread Eduard Bloch
Hi,

could you please give me a concrete example to reproduce that?

Eduard.

-- 
So, your solution is to ask Should I break your system now or after
the next reboot?. Debconf is not an alternative to fixing the
problem. Such questions are still unacceptable bugs.
  -- asuffield in debian-devel about crazy linux-2.4 repackaging


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



Bug#363003: svn-buildpackage: doesn't follow svn:externals

2006-07-17 Thread Marcus Better
I tried the following trivial patch, but it didn't help since svn 1.2
and later has a bug when exporting externals:
  http://subversion.tigris.org/issues/show_bug.cgi?id=2429

Haven't tried svn 1.1 yet.

--- SDCommon.pm
+++ SDCommon.pm 2006-07-17 09:31:42.0 +0200
@@ -372,9 +372,10 @@
 }

 sub check_uncommited {
-   open($svn, svn status |);
+   open($svn, svn status --ignore-externals |);
@statuslist = $svn;
for(@statuslist) {
+   next if /^\s*X+\s+(.*)/;
if(/^\s*M+\s+(.*)/) {
# FIXME: rewrite to run svn propget in one command with a
list if
# somebody complains about performance issues


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



Bug#363003: svn-buildpackage: doesn't follow svn:externals

2006-07-17 Thread Marcus Better
Subversion 1.1.4 (in sarge) doesn't have this bug, but on the other hand
it's incompatible with svn-buildpackage...

Marcus


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



Bug#363003: svn-buildpackage: doesn't follow svn:externals

2006-04-16 Thread Steve Langasek
Package: svn-buildpackage
Version: 0.6.14

It seems that it's not possible to use svn-buildpackage to build packages
out of the X Strike Force's svn repo, due to use of svn:externals which are
not honored by svn-buildpackage when exporting. :(  I don't know if this is
a bug in svn-buildpackage or a limitation of svn itself, but if this can be
fixed, it would be nice.

-- 
Steve Langasek   Give me a lever long enough and a Free OS
Debian Developer   to set it on, and I can move the world.
[EMAIL PROTECTED]   http://www.debian.org/


signature.asc
Description: Digital signature