Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
git-svn: dcommit prints out the URL to be committed to
author
Eric Wong
<normalperson@yhbt.net>
Thu, 23 Aug 2007 05:14:31 +0000
(22:14 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Thu, 23 Aug 2007 06:41:36 +0000
(23:41 -0700)
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>
git-svn.perl
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
aabb2e5
)
diff --git
a/git-svn.perl
b/git-svn.perl
index d162114e26d64ff6a8a63dd8ff5d795c476868d4..7a8ffd522799e79aded50d796c7f313fc6a200c6 100755
(executable)
--- 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";