aboutsummaryrefslogtreecommitdiff
path: root/git-svn.perl
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2007-08-22 22:14:31 -0700
committerJunio C Hamano <gitster@pobox.com>2007-08-22 23:41:36 -0700
commit15d54753bb59917db93e27ddfbb3b52d1f4f8c31 (patch)
treeab181532aa3aa6a5805f20bf0f3b00599b376854 /git-svn.perl
parentaabb2e515c334cbca9d9ae9873a188cef2c9b3ba (diff)
downloadgit-15d54753bb59917db93e27ddfbb3b52d1f4f8c31.tar.gz
git-15d54753bb59917db93e27ddfbb3b52d1f4f8c31.tar.xz
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>
Diffstat (limited to 'git-svn.perl')
-rwxr-xr-xgit-svn.perl1
1 files changed, 1 insertions, 0 deletions
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";