summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2007-08-23 05:14:31 (GMT)
committerJunio C Hamano <gitster@pobox.com>2007-08-23 06:41:36 (GMT)
commit15d54753bb59917db93e27ddfbb3b52d1f4f8c31 (patch)
treeab181532aa3aa6a5805f20bf0f3b00599b376854
parentaabb2e515c334cbca9d9ae9873a188cef2c9b3ba (diff)
downloadgit-15d54753bb59917db93e27ddfbb3b52d1f4f8c31.zip
git-15d54753bb59917db93e27ddfbb3b52d1f4f8c31.tar.gz
git-15d54753bb59917db93e27ddfbb3b52d1f4f8c31.tar.bz2
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>
-rwxr-xr-xgit-svn.perl1
1 files changed, 1 insertions, 0 deletions
diff --git a/git-svn.perl b/git-svn.perl
index d162114..7a8ffd5 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";