aboutsummaryrefslogtreecommitdiff
path: root/git-svn.perl
diff options
context:
space:
mode:
authorKonstantin V. Arkhipov <voxus@onphp.org>2007-11-14 03:52:02 +0300
committerEric Wong <normalperson@yhbt.net>2007-11-17 13:28:21 -0800
commit3caf320ba8fc8277b5875fe306efbfa333b92487 (patch)
treee01203a6b8f8ae54823274a849c5f1325a16d757 /git-svn.perl
parent41337e22f0513c8a0ed603e30feb1fecaeb1649e (diff)
downloadgit-3caf320ba8fc8277b5875fe306efbfa333b92487.tar.gz
git-3caf320ba8fc8277b5875fe306efbfa333b92487.tar.xz
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 <voxus@onphp.org> Acked-by: Eric Wong <normalperson@yhbt.net>
Diffstat (limited to 'git-svn.perl')
-rwxr-xr-xgit-svn.perl3
1 files changed, 3 insertions, 0 deletions
diff --git a/git-svn.perl b/git-svn.perl
index e3e00fdcc..a5cf757cf 100755
--- a/git-svn.perl
+++ b/git-svn.perl
@@ -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 {