Your message dated Tue, 05 Feb 2008 18:32:04 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#463941: fixed in mr 0.23
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.23
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.23.dsc
to pool/main/m/mr/mr_0.23.dsc
mr_0.23.tar.gz
to pool/main/m/mr/mr_0.23.tar.gz
mr_0.23_all.deb
to pool/main/m/mr/mr_0.23_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: Tue, 05 Feb 2008 13:26:05 -0500
Source: mr
Binary: mr
Architecture: source all
Version: 0.23
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.23) unstable; urgency=low
.
* Fix tests in git-svn include file to use MR_REPO. Closes: #463941
Files:
61657789c1fc20a0abe509a0d78cc99d 563 utils optional mr_0.23.dsc
87088766dbf0604cc3ceee25b80ab295 30268 utils optional mr_0.23.tar.gz
cba4f56eda030ed919dfa04652d3ebb1 26360 utils optional mr_0.23_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFHqKpy2tp5zXiKP0wRAvw5AJ9In7vqvJV168eE+tlFSC8xpweYvACfYB4F
dHYaCsTEkklqtSfBpaQXs1I=
=rTRj
-----END PGP SIGNATURE-----
--- End Message ---