git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] Documentation: git-svn: fix trunk/fetch svn-remote key typo

From
Wesley J. Landaker <wjl@icecavern.net>
Date
Apr 1, 2009, 21:02 UTC
Message-ID
<200904011502.31465.wjl@icecavern.net>

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>
---
 Documentation/git-svn.txt |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Documentation/git-svn.txt b/Documentation/git-svn.txt
index cda3389..64f1c55 100644
--- a/Documentation/git-svn.txt
+++ b/Documentation/git-svn.txt
@@ -672,9 +672,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
Message 1 of 1 in “Documentation: git-svn: fix trunk/fetch svn-remote key typo”
  1. Documentation: git-svn: fix trunk/fetch svn-remote key typoWesley J. Landaker, Apr 1, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.