From: Eric Wong <normalperson@yhbt.net>
Date: Thu, 23 Aug 2007 05:14:31 +0000 (-0700)
Subject: git-svn: dcommit prints out the URL to be committed to
X-Git-Tag: v1.5.3-rc7~36
X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=15d54753bb59917db93e27ddfbb3b52d1f4f8c31;p=git.git

git-svn: dcommit prints out the URL to be committed to

This will print out the URL that dcommit will operate on.
If used with --dry-run this will print out the URL without
making changes to the repository.

Signed-off-by: Eric Wong <normalperson@yhbt.net>
---

diff --git a/git-svn.perl b/git-svn.perl
index d162114e2..7a8ffd522 100755
--- a/git-svn.perl
+++ b/git-svn.perl
@@ -370,6 +370,7 @@ sub cmd_dcommit {
 	$head ||= 'HEAD';
 	my @refs;
 	my ($url, $rev, $uuid, $gs) = working_head_info($head, \@refs);
+	print "Committing to $url ...\n";
 	unless ($gs) {
 		die "Unable to determine upstream SVN information from ",
 		    "$head history\n";