{"thread":{"id":"22167","subject":"[PATCH 3/4] git-svn: support options --username and --commit-url in branch/tag","startedAt":"2010-01-11T16:21:51Z","lastAt":"2010-01-11T16:21:51Z","messageCount":1,"participants":["Igor Mironov"],"isPatch":true,"patchVersion":1,"patchTotal":4},"messages":[{"id":"131288","messageId":"4B4B501F.3060101@gmail.com","threadId":"22167","inReplyTo":null,"subject":"[PATCH 3/4] git-svn: support options --username and --commit-url in branch/tag","fromName":"Igor Mironov","fromEmail":"igor.a.mironov@gmail.com","sentAt":"2010-01-11T16:21:51Z","receivedAt":"2010-01-11T16:21:51Z","isPatch":true,"sender":{"key":"igor.a.mironov@gmail.com","avatar":null},"body":"Add ability to specify on the command line the username to perform the operation as and the writable URL of the repository to perform it on.\nSigned-off-by: Igor Mironov <igor.a.mironov@gmail.com>\n---\n git-svn.perl |    8 ++++++--\n 1 files changed, 6 insertions(+), 2 deletions(-)\n\ndiff --git a/git-svn.perl b/git-svn.perl\nindex 3bdd8d3..0da6c67 100755\n--- a/git-svn.perl\n+++ b/git-svn.perl\n@@ -155,12 +155,16 @@ my %cmd = (\n \t            { 'message|m=s' => \\$_message,\n \t              'destination|d=s' => \\$_branch_dest,\n \t              'dry-run|n' => \\$_dry_run,\n-\t\t      'tag|t' => \\$_tag } ],\n+\t              'tag|t' => \\$_tag,\n+\t              'username=s' => \\$Git::SVN::Prompt::_username,\n+\t              'commit-url=s' => \\$_commit_url } ],\n \ttag => [ sub { $_tag = 1; cmd_branch(@_) },\n \t         'Create a tag in the SVN repository',\n \t         { 'message|m=s' => \\$_message,\n \t           'destination|d=s' => \\$_branch_dest,\n-\t           'dry-run|n' => \\$_dry_run } ],\n+\t           'dry-run|n' => \\$_dry_run,\n+\t           'username=s' => \\$Git::SVN::Prompt::_username,\n+\t           'commit-url=s' => \\$_commit_url } ],\n \t'set-tree' => [ \\&cmd_set_tree,\n \t                \"Set an SVN repository to a git tree-ish\",\n \t\t\t{ 'stdin' => \\$_stdin, %cmt_opts, %fc_opts, } ],\n-- \n1.6.6.106.ge2de8\n"}]}