{"thread":{"id":"4076","subject":"[PATCH 1/2] git-svn: documentation updates","startedAt":"2006-05-05T19:35:38Z","lastAt":"2006-05-05T19:35:40Z","messageCount":3,"participants":["Eric Wong"],"isPatch":true,"patchVersion":1,"patchTotal":2},"messages":[{"id":"19591","messageId":"11468577402388-git-send-email-normalperson@yhbt.net","threadId":"4076","inReplyTo":null,"subject":"[0/2 PATCH] git-svn 1.0.0 release","fromName":"Eric Wong","fromEmail":"normalperson@yhbt.net","sentAt":"2006-05-05T19:35:38Z","receivedAt":"2006-05-05T19:35:38Z","isPatch":true,"sender":{"key":"e@80x24.org","avatar":null},"body":"It's been very solid for a long time now.  I haven't run into\nany problems with it myself in a while, and no critical bugs\nthat I know of exist.  Labeling it 1.0.0 may make it look\nless scary to new users :)\n\nThanks to all those who gave feedback.\n\n git-svn.perl |    8 +++++---\n git-svn.txt  |   45 ++++++++++++++++++++++++++++++++++-----------\n 2 files changed, 39 insertions(+), 14 deletions(-)\n"},{"id":"19589","messageId":"11468577403821-git-send-email-normalperson@yhbt.net","threadId":"4076","inReplyTo":"11468577402388-git-send-email-normalperson@yhbt.net","subject":"[PATCH 1/2] git-svn: documentation updates","fromName":"Eric Wong","fromEmail":"normalperson@yhbt.net","sentAt":"2006-05-05T19:35:39Z","receivedAt":"2006-05-05T19:35:39Z","isPatch":true,"sender":{"key":"e@80x24.org","avatar":null},"body":"* Clarify that 'init' requires an argument\n* Remove instances of 'SVN_URL' in the manpage, it's not an\n  environment variable.\n* Refer to 'Additional Fetch Arguments' when documenting 'fetch'\n* document --authors-file / -A option\n\nThanks to Pavel Roskin and Seth Falcon for bringing these issues\nto my attention.\n\nSigned-off-by: Eric Wong <normalperson@yhbt.net>\n\n---\n\n contrib/git-svn/git-svn.perl |    6 ++++--\n contrib/git-svn/git-svn.txt  |   45 ++++++++++++++++++++++++++++++++----------\n 2 files changed, 38 insertions(+), 13 deletions(-)\n\nf16bddd18d55404fbaa4a88020f4d58ab2b1c620\ndiff --git a/contrib/git-svn/git-svn.perl b/contrib/git-svn/git-svn.perl\nindex 7c44450..e003501 100755\n--- a/contrib/git-svn/git-svn.perl\n+++ b/contrib/git-svn/git-svn.perl\n@@ -42,7 +42,8 @@ my %fc_opts = ( 'no-ignore-externals' =>\n my %cmd = (\n \tfetch => [ \\&fetch, \"Download new revisions from SVN\",\n \t\t\t{ 'revision|r=s' => \\$_revision, %fc_opts } ],\n-\tinit => [ \\&init, \"Initialize and fetch (import)\", { } ],\n+\tinit => [ \\&init, \"Initialize a repo for tracking\" .\n+\t\t\t  \" (requires URL argument)\", { } ],\n \tcommit => [ \\&commit, \"Commit git revisions to SVN\",\n \t\t\t{\t'stdin|' => \\$_stdin,\n \t\t\t\t'edit|e' => \\$_edit,\n@@ -220,7 +221,8 @@ when you have upgraded your tools and ha\n }\n \n sub init {\n-\t$SVN_URL = shift or croak \"SVN repository location required\\n\";\n+\t$SVN_URL = shift or die \"SVN repository location required \" .\n+\t\t\t\t\"as a command-line argument\\n\";\n \tunless (-d $GIT_DIR) {\n \t\tsys('git-init-db');\n \t}\ndiff --git a/contrib/git-svn/git-svn.txt b/contrib/git-svn/git-svn.txt\nindex e18fcaf..f7d3de4 100644\n--- a/contrib/git-svn/git-svn.txt\n+++ b/contrib/git-svn/git-svn.txt\n@@ -36,17 +36,22 @@ COMMANDS\n --------\n init::\n \tCreates an empty git repository with additional metadata\n-\tdirectories for git-svn.  The SVN_URL must be specified\n-\tat this point.\n+\tdirectories for git-svn.  The Subversion URL must be specified\n+\tas a command-line argument.\n \n fetch::\n-\tFetch unfetched revisions from the SVN_URL we are tracking.\n-\trefs/heads/remotes/git-svn will be updated to the latest revision.\n+\tFetch unfetched revisions from the Subversion URL we are\n+\ttracking.  refs/remotes/git-svn will be updated to the\n+\tlatest revision.\n \n-\tNote: You should never attempt to modify the remotes/git-svn branch\n-\toutside of git-svn.  Instead, create a branch from remotes/git-svn\n-\tand work on that branch.  Use the 'commit' command (see below)\n-\tto write git commits back to remotes/git-svn.\n+\tNote: You should never attempt to modify the remotes/git-svn\n+\tbranch outside of git-svn.  Instead, create a branch from\n+\tremotes/git-svn and work on that branch.  Use the 'commit'\n+\tcommand (see below) to write git commits back to\n+\tremotes/git-svn.\n+\n+\tSee 'Additional Fetch Arguments' if you are interested in\n+\tmanually joining branches on commit.\n \n commit::\n \tCommit specified commit or tree objects to SVN.  This relies on\n@@ -62,9 +67,9 @@ rebuild::\n \ttracked with git-svn.  Unfortunately, git-clone does not clone\n \tgit-svn metadata and the svn working tree that git-svn uses for\n \tits operations.  This rebuilds the metadata so git-svn can\n-\tresume fetch operations.  SVN_URL may be optionally specified if\n-\tthe directory/repository you're tracking has moved or changed\n-\tprotocols.\n+\tresume fetch operations.  A Subversion URL may be optionally\n+\tspecified at the command-line if the directory/repository you're\n+\ttracking has moved or changed protocols.\n \n show-ignore::\n \tRecursively finds and lists the svn:ignore property on\n@@ -123,6 +128,24 @@ OPTIONS\n \trepo-config key: svn.l\n \trepo-config key: svn.findcopiesharder\n \n+-A<filename>::\n+--authors-file=<filename>::\n+\n+\tSyntax is compatible with the files used by git-svnimport and\n+\tgit-cvsimport:\n+\n+------------------------------------------------------------------------\n+loginname = Joe User <user@example.com>\n+------------------------------------------------------------------------\n+\n+\tIf this option is specified and git-svn encounters an SVN\n+\tcommitter name that does not exist in the authors-file, git-svn\n+\twill abort operation. The user will then have to add the\n+\tappropriate entry.  Re-running the previous git-svn command\n+\tafter the authors-file is modified should continue operation.\n+\n+\trepo-config key: svn.authors-file\n+\n ADVANCED OPTIONS\n ----------------\n -b<refname>::\n-- \n1.3.2.ge3d7\n"},{"id":"19590","messageId":"11468577403171-git-send-email-normalperson@yhbt.net","threadId":"4076","inReplyTo":"11468577403821-git-send-email-normalperson@yhbt.net","subject":"[PATCH 2/2] git-svn 1.0.0","fromName":"Eric Wong","fromEmail":"normalperson@yhbt.net","sentAt":"2006-05-05T19:35:40Z","receivedAt":"2006-05-05T19:35:40Z","isPatch":true,"sender":{"key":"e@80x24.org","avatar":null},"body":"Signed-off-by: Eric Wong <normalperson@yhbt.net>\n\n---\n\n contrib/git-svn/git-svn.perl |    2 +-\n 1 files changed, 1 insertions(+), 1 deletions(-)\n\n3680a525691232e2f45f2bcf63458e547ff109ba\ndiff --git a/contrib/git-svn/git-svn.perl b/contrib/git-svn/git-svn.perl\nindex e003501..de13a96 100755\n--- a/contrib/git-svn/git-svn.perl\n+++ b/contrib/git-svn/git-svn.perl\n@@ -8,7 +8,7 @@ use vars qw/\t$AUTHOR $VERSION\n \t\t$GIT_SVN_INDEX $GIT_SVN\n \t\t$GIT_DIR $REV_DIR/;\n $AUTHOR = 'Eric Wong <normalperson@yhbt.net>';\n-$VERSION = '0.11.0';\n+$VERSION = '1.0.0';\n \n use Cwd qw/abs_path/;\n $GIT_DIR = abs_path($ENV{GIT_DIR} || '.git');\n-- \n1.3.2.ge3d7\n"}]}