Skip to contentSkip to conversation

git-svn's dcommit must use subversion's config

PATCH In review Konstantin V. Arkhipov 2 participants 2 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

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').

---

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 {
Acked-by on v1 1/1
#1 lore raw

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').

---

git-svn +0 -0

Thanks Konstantin,

I needed to add '.perl' to the filenames above to get the patch to apply. But otherwise,

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