From: Matthieu Moy Date: Mon, 16 Jul 2012 12:00:46 +0000 (+0200) Subject: git-remote-mediawiki: don't split namespaces with spaces X-Git-Tag: v1.7.12-rc0~8^2~9 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ac4bbb41b25949adff3afa96b2821f648abad8b3;p=git.git git-remote-mediawiki: don't split namespaces with spaces Signed-off-by: Matthieu Moy Signed-off-by: Junio C Hamano --- diff --git a/contrib/mw-to-git/git-remote-mediawiki b/contrib/mw-to-git/git-remote-mediawiki index accd70a94..a6ad8cf33 100755 --- a/contrib/mw-to-git/git-remote-mediawiki +++ b/contrib/mw-to-git/git-remote-mediawiki @@ -1275,7 +1275,7 @@ sub get_mw_namespace_id { # Look at configuration file, if the record for that namespace is # already cached. Namespaces are stored in form: # "Name_of_namespace:Id_namespace", ex.: "File:6". - my @temp = split(/[ \n]/, run_git("config --get-all remote." + my @temp = split(/[\n]/, run_git("config --get-all remote." . $remotename .".namespaceCache")); chomp(@temp); foreach my $ns (@temp) {