Your message dated Tue, 16 Oct 2007 17:17:05 +0000 with message-id <[EMAIL PROTECTED]> and subject line Bug#435686: fixed in svn-load 0.7-1 has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what I am talking about this indicates a serious mail system misconfiguration somewhere. Please contact me immediately.) Debian bug tracking system administrator (administrator, Debian Bugs database)
--- Begin Message ---Package: svn-load Version: 0.6-1 Severity: normal Tags: patch When including several lines in a move-map file which use the convenience feature of specifying a string instead of a lambda, that string is not stored properly for each line. Instead, the last string in the file will be used with each regexp. For example, if the move-map file contains ^foo$ "hello" ^bar$ "world" this will in fact be interpreted as ^foo$ "world" ^bar$ "world" The reason for this is that the variable "value" used in the lambda is shared between all the lambdas. In lieu of proper lexical scoping, there is a trick to get around this: Add a second parameter with a default value. Since default values are stored in the lambda, this will allow the lambdas to keep different values. Patch: --- svn-load.orig 2007-08-02 17:32:16.000000000 +0200 +++ svn-load 2007-08-02 17:19:13.000000000 +0200 @@ -504,7 +504,7 @@ def parse_move_map(filename): # If it's actually a string, let's turn it into a trivial lambda if type(value) == types.StringType: - func = lambda m: value + func = lambda m,v=value: v elif type(value) != types.FunctionType: sys.stderr.write("Error: right field in map must be a lambda or " "a string\n") -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 2.6.21-2-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US, LC_CTYPE=sv_SE.ISO-8859-1 (charmap=ISO-8859-1) Shell: /bin/sh linked to /bin/bash Versions of packages svn-load depends on: ii python 2.4.4-6 An interactive high-level object-o ii python-svn 1.5.1-2 A(nother) Python interface to Subv svn-load recommends no packages. -- no debconf information
--- End Message ---
--- Begin Message ---Source: svn-load Source-Version: 0.7-1 We believe that the bug you reported is fixed in the latest version of svn-load, which is due to be installed in the Debian FTP archive: svn-load_0.7-1.diff.gz to pool/main/s/svn-load/svn-load_0.7-1.diff.gz svn-load_0.7-1.dsc to pool/main/s/svn-load/svn-load_0.7-1.dsc svn-load_0.7-1_all.deb to pool/main/s/svn-load/svn-load_0.7-1_all.deb svn-load_0.7.orig.tar.gz to pool/main/s/svn-load/svn-load_0.7.orig.tar.gz A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [EMAIL PROTECTED], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. dann frazier <[EMAIL PROTECTED]> (supplier of updated svn-load package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [EMAIL PROTECTED]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Format: 1.7 Date: Tue, 16 Oct 2007 11:05:09 -0600 Source: svn-load Binary: svn-load Architecture: source all Version: 0.7-1 Distribution: unstable Urgency: low Maintainer: dann frazier <[EMAIL PROTECTED]> Changed-By: dann frazier <[EMAIL PROTECTED]> Description: svn-load - An enhanced import facility for Subversion Closes: 435686 Changes: svn-load (0.7-1) unstable; urgency=low . * New upstream release * Fix move-map file feature of using strings instead of lambdas. Thanks to Marcus Comstedt for the patch and John Wright for the test updates. (closes: #435686) Files: b65c200b939898d1774bbdeb9f07e28b 552 devel extra svn-load_0.7-1.dsc 1d3322fa32454012ec01e2e86f179722 10000 devel extra svn-load_0.7.orig.tar.gz da33cac8772a60bc9d912f329084a537 2679 devel extra svn-load_0.7-1.diff.gz 3f6927def5e2cbdb8a94f6c5c6d7f481 8868 devel extra svn-load_0.7-1_all.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFHFPAqhuANDBmkLRkRAuE3AJ9770wm8SaopLs09820vM6cih+sZwCghApB 7/b2MRhCP984B/0X06yn6tI= =vOZL -----END PGP SIGNATURE-----
--- End Message ---

