Package: mr
Version: 0.23
Followup-For: Bug #463941

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

Hi,

I found the error: the git config directory was missing the ".git" component.
Now my "mr update" call works fine. Attached is a patch.

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

- -- debconf-show failed

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

iD8DBQFHqaq8eBwlBDLsbz4RAnWDAJwJemYmue+qXRax0FpFeff3ZWk/wQCfXk1n
tZacDkD2LmsNbpKOtW9bxQE=
=Cc6v
-----END PGP SIGNATURE-----
--- /usr/share/mr/git-svn.orig  2008-02-06 11:01:33.000000000 +0100
+++ /usr/share/mr/git-svn       2008-02-06 11:01:42.000000000 +0100
@@ -17,11 +17,11 @@
 
 git_test =
        test -d "$MR_REPO"/.git &&
-       test -z "$(GIT_CONFIG="$MR_REPO"/config git config --get 
svn-remote.svn.url)"
+       test -z "$(GIT_CONFIG="$MR_REPO"/.git/config git config --get 
svn-remote.svn.url)"
 
 git_svn_test =
        test -d "$MR_REPO"/.git &&
-       test -n "$(GIT_CONFIG="$MR_REPO"/config git config --get 
svn-remote.svn.url)"
+       test -n "$(GIT_CONFIG="$MR_REPO"/.git/config git config --get 
svn-remote.svn.url)"
 
 git_svn_register =
        url="`LC_ALL=C git config --get svn-remote.svn.url`" || true

Reply via email to