Code

Remove usernames from all commit messages, not just when using svmprops
authorAdam Roben <aroben@apple.com>
Wed, 25 Apr 2007 01:02:07 +0000 (18:02 -0700)
committerJunio C Hamano <junkio@cox.net>
Wed, 25 Apr 2007 04:40:17 +0000 (21:40 -0700)
Signed-off-by: Sam Vilain <sam.vilain@catalyst.net.nz>
Signed-off-by: Adam Roben <aroben@apple.com>
Acked-by: Eric Wong <normalperson@yhbt.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-svn.perl

index efc4c88a4ea158bd630a6f53a8346e344b360ed6..077d6b3a134fcb6c8f74f1473cbb9d36bdb7c6f9 100755 (executable)
@@ -1866,11 +1866,14 @@ sub make_log_entry {
        } elsif ($self->use_svnsync_props) {
                my $full_url = $self->svnsync->{url};
                $full_url .= "/$self->{path}" if length $self->{path};
+               remove_username($full_url);
                my $uuid = $self->svnsync->{uuid};
                $log_entry{metadata} = "$full_url\@$rev $uuid";
                $email ||= "$author\@$uuid"
        } else {
-               $log_entry{metadata} = $self->metadata_url. "\@$rev " .
+               my $url = $self->metadata_url;
+               remove_username($url);
+               $log_entry{metadata} = "$url\@$rev " .
                                       $self->ra->get_uuid;
                $email ||= "$author\@" . $self->ra->get_uuid;
        }