Your message dated Wed, 06 Feb 2008 18:17:04 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#463941: fixed in mr 0.24
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: mr
Version: 0.22
Severity: normal
Tags: patch

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

mr uses chdir() to change the working directory to each repository it
works on. However when a skip test is defined rcs_test() is called
before chdir(), and then the test for git repositories fails (since
"git config" checks that ".git" is in the current working directory).

Attached is a patch that moves the chdir() call before the skip test
detection. This resolved the error for me.

Regards,
  Bastian

- -- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.24treasure1 (PREEMPT)
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHpuQAeBwlBDLsbz4RAkyIAJ4tQzYkQFxo6ki3qQc8nqFZBkx+cwCgygOf
UoLZARRgC42N6v0x/G73QWQ=
=3pt+
-----END PGP SIGNATURE-----
--- mr  2008-02-04 02:11:30.937987767 +0100
+++ /usr/bin/mr 2008-02-04 10:11:10.000000000 +0100
@@ -432,6 +432,14 @@
 
        $ENV{MR_REPO}=$dir;
 
+       if ($is_checkout && ! -d $dir) {
+               print "mr $action: creating parent directory $dir\n" if 
$verbose;
+               system("mkdir", "-p", $dir);
+       }
+       if (! $no_chdir && ! chdir($dir)) {
+               print STDERR "mr $action: failed to chdir to $dir: $!\n";
+               return FAILED;
+       }
        my $skiptest=findcommand("skip", $dir, $topdir, $subdir, $is_checkout);
        my $command=findcommand($action, $dir, $topdir, $subdir, $is_checkout);
 
@@ -456,16 +464,7 @@
                }
        }
 
-       if ($is_checkout && ! -d $dir) {
-               print "mr $action: creating parent directory $dir\n" if 
$verbose;
-               system("mkdir", "-p", $dir);
-       }
-
-       if (! $no_chdir && ! chdir($dir)) {
-               print STDERR "mr $action: failed to chdir to $dir: $!\n";
-               return FAILED;
-       }
-       elsif (! defined $command) {
+       if (! defined $command) {
                my $rcs=rcs_test(@_);
                if (! defined $rcs) {
                        print STDERR "mr $action: unknown repository type and 
no defined $action command for $topdir$subdir\n";

--- End Message ---
--- Begin Message ---
Source: mr
Source-Version: 0.24

We believe that the bug you reported is fixed in the latest version of
mr, which is due to be installed in the Debian FTP archive:

mr_0.24.dsc
  to pool/main/m/mr/mr_0.24.dsc
mr_0.24.tar.gz
  to pool/main/m/mr/mr_0.24.tar.gz
mr_0.24_all.deb
  to pool/main/m/mr/mr_0.24_all.deb



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.
Joey Hess <[EMAIL PROTECTED]> (supplier of updated mr 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: Wed, 06 Feb 2008 13:04:30 -0500
Source: mr
Binary: mr
Architecture: source all
Version: 0.24
Distribution: unstable
Urgency: low
Maintainer: Joey Hess <[EMAIL PROTECTED]>
Changed-By: Joey Hess <[EMAIL PROTECTED]>
Description: 
 mr         - a Multiple Repository management tool
Closes: 463941
Changes: 
 mr (0.24) unstable; urgency=low
 .
   * Correct GIT_CONFIG settings in git-svn. Closes: #463941
Files: 
 3c145892bed7fbefefc5f9c17a02b4cf 563 utils optional mr_0.24.dsc
 61befbad73285ed40b434c40abee2838 30289 utils optional mr_0.24.tar.gz
 c86ef8ec57795b41bc255e7a60f86a4b 26382 utils optional mr_0.24_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHqfbc2tp5zXiKP0wRAokGAKDMxyTrsCUIt8mPJDQycoP5WprqPACgq4Fa
pnaC3PjOqaQ8Z2jwMJFXR4E=
=yRKn
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to