git-svn's dcommit must use subversion's config
PATCH 1/1 git-svn's dcommit must use subversion's config
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 <[email protected]>
---
git-svn +3 -0
@@ -406,6 +406,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 {
git-svn
Quoted 9 lines · Konstantin V. Arkhipov
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 <[email protected]>---
git-svn +0
-0
Thanks Konstantin,
I needed to add '.perl' to the filenames above to get the patch to apply. But otherwise,
Acked-by Eric Wong <[email protected]>
Quoted 10 lines
git-svn +3
-0@@ -406,6 +406,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 {
Signature · 1 line
Eric Wong