@matheusbsbs / matheus-bagliano / commits / 15d54753bb
Fork 0

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>

Eric Wong committed Aug 22, 2007 at 22:14 UTC 15d54753bb59917db93e27ddfbb3b52d1f4f8c31
1 file changed +1
git-svn.perl
+1
@@ -370,6 +370,7 @@ sub cmd_dcommit {
370 $head ||= 'HEAD';
371 my @refs;
372 my ($url, $rev, $uuid, $gs) = working_head_info($head, \@refs);
373 + print "Committing to $url ...\n";
374 unless ($gs) {
375 die "Unable to determine upstream SVN information from ",
376 "$head history\n";