git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Patch for git-svn.perl
@ 2008-09-05 11:18 Paul Talacko
  2008-09-05 13:29 ` Miklos Vajna
  2008-09-07  2:03 ` Eric Wong
  0 siblings, 2 replies; 4+ messages in thread
From: Paul Talacko @ 2008-09-05 11:18 UTC (permalink / raw)
  To: normalperson, brad.king, git

[-- Attachment #1: Type: text/plain, Size: 150 bytes --]

Hello,

There's an issue in git-svn as autoprops are not applied to renamed files, only to added files.

This patch fixes the bug.




      

[-- Attachment #2: patch --]
[-- Type: application/octet-stream, Size: 438 bytes --]

diff --git a/git-svn.perl b/git-svn.perl
index 7a1d26d..0a04cc0 100755
--- a/git-svn.perl
+++ b/git-svn.perl
@@ -3636,6 +3636,7 @@ sub R {
 	my $fbat = $self->add_file($self->repo_path($m->{file_b}), $pbat,
 				$self->url_path($m->{file_a}), $self->{r});
 	print "\tR\t$m->{file_a} => $m->{file_b}\n" unless $::_q;
+	$self->apply_autoprops( $file, $fbat );
 	$self->chg_file($fbat, $m);
 	$self->close_file($fbat,undef,$self->{pool});
 

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-09-07  2:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-05 11:18 Patch for git-svn.perl Paul Talacko
2008-09-05 13:29 ` Miklos Vajna
2008-09-07  2:03 ` Eric Wong
2008-09-07  2:18   ` Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).