Fixed reference to git module name when using dvcs_mirror_dir
commit8984e733c929a64538a2809998ed2d36c7e5a8b1
authorDmitrijs Ledkovs <dmitrij.ledkov@ubuntu.com>
Fri, 23 Apr 2010 23:54:11 +0000 (24 00:54 +0100)
committerFrédéric Péters <fpeters@0d.be>
Sat, 1 May 2010 08:31:06 +0000 (1 10:31 +0200)
treefc048fb7d5274527c9ce920a3ea5d6535f953b89
parent6d5674c25b30fafe558a9b0d6bba66c9d5fa2fea
Fixed reference to git module name when using dvcs_mirror_dir

Previously it assumed module href does not end with ".git" so if module href is
git://example.com/foo.git it would check for $dvcs_mirror_dir/foo.git.git,
think mirror doesn't exists and try to create it:

      git clone --mirror git://example.com/foo.git
      fatal: destination path 'foo.git' already exists and is not an empty directory.
jhbuild/versioncontrol/git.py