Code

git-svn's dcommit must use subversion's config
authorKonstantin V. Arkhipov <voxus@onphp.org>
Wed, 14 Nov 2007 00:52:02 +0000 (03:52 +0300)
committerEric Wong <normalperson@yhbt.net>
Sat, 17 Nov 2007 21:28:21 +0000 (13:28 -0800)
When doing dcommit git-svn must use subversion's config or newly created
files will not include svn's properties
(defined in [auto-props] with 'enable-auto-props = yes').

Signed-off-by: Konstantin V. Arkhipov <voxus@onphp.org>
Acked-by: Eric Wong <normalperson@yhbt.net>
git-svn.perl

index e3e00fdcc5f4b0ad1d06cc026a5efe62ff0be0fe..a5cf757cf605a017066922e018df7e900881e173 100755 (executable)
@@ -425,6 +425,9 @@ sub cmd_dcommit {
                        my %ed_opts = ( r => $last_rev,
                                        log => get_commit_entry($d)->{log},
                                        ra => Git::SVN::Ra->new($gs->full_url),
+                                       config => SVN::Core::config_get_config(
+                                               $Git::SVN::Ra::config_dir
+                                       ),
                                        tree_a => "$d~1",
                                        tree_b => $d,
                                        editor_cb => sub {