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>maint
parent
aabb2e515c
commit
15d54753bb
|
@ -370,6 +370,7 @@ sub cmd_dcommit {
|
||||||
$head ||= 'HEAD';
|
$head ||= 'HEAD';
|
||||||
my @refs;
|
my @refs;
|
||||||
my ($url, $rev, $uuid, $gs) = working_head_info($head, \@refs);
|
my ($url, $rev, $uuid, $gs) = working_head_info($head, \@refs);
|
||||||
|
print "Committing to $url ...\n";
|
||||||
unless ($gs) {
|
unless ($gs) {
|
||||||
die "Unable to determine upstream SVN information from ",
|
die "Unable to determine upstream SVN information from ",
|
||||||
"$head history\n";
|
"$head history\n";
|
||||||
|
|
Loading…
Reference in New Issue