summaryrefslogtreecommitdiff
path: root/contrib/mw-to-git/t/t9364-pull-by-rev.sh
diff options
context:
space:
mode:
authorMatthieu Moy <Matthieu.Moy@imag.fr>2012-07-17 14:06:00 (GMT)
committerJunio C Hamano <gitster@pobox.com>2012-07-17 18:53:11 (GMT)
commit2272400c93332629e8c34dcf3b1207159352e539 (patch)
tree90f0d009e3bc0efd35a3f7d2b4b1ce8037a5e1b9 /contrib/mw-to-git/t/t9364-pull-by-rev.sh
parentfa316e090a58421c7caf50eefa58f6cb30c6df89 (diff)
downloadgit-2272400c93332629e8c34dcf3b1207159352e539.zip
git-2272400c93332629e8c34dcf3b1207159352e539.tar.gz
git-2272400c93332629e8c34dcf3b1207159352e539.tar.bz2
git-remote-mediawiki: allow page names with a ':'
Traditionnally, pages named Foo:Bar are page 'Bar' in namespace 'Foo'. However, it is also possible to call a page Foo:Bar if 'Foo' is not a namespace. In this case, the actual name of the page is 'Foo:Bar', in the main namespace. Since we can't tell with only the filename, query the wiki for a namespace 'Foo' in these cases, but deal with the case where no such namespace is found. Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/mw-to-git/t/t9364-pull-by-rev.sh')
0 files changed, 0 insertions, 0 deletions