Code

Documentation: git-svn: fix trunk/fetch svn-remote key typo
authorWesley J. Landaker <wjl@icecavern.net>
Wed, 1 Apr 2009 22:05:01 +0000 (16:05 -0600)
committerJunio C Hamano <gitster@pobox.com>
Thu, 2 Apr 2009 04:43:03 +0000 (21:43 -0700)
Fix the git-svn documentation svn-remote example section talking about
tags and branches by using the proper key "fetch" instead of "trunk".
Using "trunk" actually might be nice, but it doesn't currently work.

The fetch line for the trunk was also reordered to be at the top of the
list, since most people think about the trunk/tags/branches trio in that
logical order.

Signed-off-by: Wesley J. Landaker <wjl@icecavern.net>
Acked-by: Eric Wong <normalperson@yhbt.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-svn.txt

index 8163a19843a290c84e460a1f1c3fe5d59fa6f2ac..b7b1af813d79a88aab3d74a39b7a63570c44871c 100644 (file)
@@ -673,9 +673,9 @@ listed below are allowed:
 ------------------------------------------------------------------------
 [svn-remote "project-a"]
        url = http://server.org/svn
+       fetch = trunk/project-a:refs/remotes/project-a/trunk
        branches = branches/*/project-a:refs/remotes/project-a/branches/*
        tags = tags/*/project-a:refs/remotes/project-a/tags/*
-       trunk = trunk/project-a:refs/remotes/project-a/trunk
 ------------------------------------------------------------------------
 
 Keep in mind that the '*' (asterisk) wildcard of the local ref