From: Alex Vandiver Date: Tue, 08 Dec 2009 20:54:11 GMT Subject: [PATCH 2/2] git-svn: Move setting of svn.authorsfile in clone to between init and fetch Message-ID: <1260305651-11111-2-git-send-email-alex@chmrr.net> In-Reply-To: <1260305651-11111-1-git-send-email-alex@chmrr.net> If a clone errors out because of a missing author, or user interrupt, this allows `git svn fetch` to resume seamlessly, rather than forcing the user to re-provide the path to the authors file. Signed-off-by: Alex Vandiver --- git-svn.perl | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/git-svn.perl b/git-svn.perl index cf5e75e..3c3e0e0 100755 --- a/git-svn.perl +++ b/git-svn.perl @@ -394,9 +394,9 @@ sub cmd_clone { $path = basename($url) if !defined $path || !length $path; my $authors_absolute = $_authors ? File::Spec->rel2abs($_authors) : ""; cmd_init($url, $path); - Git::SVN::fetch_all($Git::SVN::default_repo_id); command_oneline('config', 'svn.authorsfile', $authors_absolute) if $_authors; + Git::SVN::fetch_all($Git::SVN::default_repo_id); } sub cmd_init { -- 1.6.6.rc0.360.gc408