summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonstantin V. Arkhipov <voxus@onphp.org>2007-11-14 00:52:02 (GMT)
committerEric Wong <normalperson@yhbt.net>2007-11-17 21:28:21 (GMT)
commit3caf320ba8fc8277b5875fe306efbfa333b92487 (patch)
treee01203a6b8f8ae54823274a849c5f1325a16d757
parent41337e22f0513c8a0ed603e30feb1fecaeb1649e (diff)
downloadgit-3caf320ba8fc8277b5875fe306efbfa333b92487.zip
git-3caf320ba8fc8277b5875fe306efbfa333b92487.tar.gz
git-3caf320ba8fc8277b5875fe306efbfa333b92487.tar.bz2
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>
-rwxr-xr-xgit-svn.perl3
1 files changed, 3 insertions, 0 deletions
diff --git a/git-svn.perl b/git-svn.perl
index e3e00fd..a5cf757 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 {