{"thread":{"id":"10859","subject":"[PATCH] git-svn's dcommit must use subversion's config","startedAt":"2007-11-14T00:52:02Z","lastAt":"2007-11-17T21:22:41Z","messageCount":2,"participants":["Konstantin V. Arkhipov","Eric Wong"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"59801","messageId":"200711140352.02978.voxus@onphp.org","threadId":"10859","inReplyTo":null,"subject":"[PATCH] git-svn's dcommit must use subversion's config","fromName":"Konstantin V. Arkhipov","fromEmail":"voxus@onphp.org","sentAt":"2007-11-14T00:52:02Z","receivedAt":"2007-11-14T00:52:02Z","isPatch":true,"sender":{"key":"voxus@onphp.org","avatar":null},"body":"When doing dcommit git-svn must use subversion's config or newly created\nfiles will not include svn's properties\n(defined in [auto-props] with 'enable-auto-props = yes').\n\nSigned-off-by: Konstantin V. Arkhipov <voxus@onphp.org>\n---\n--- git-svn\t2007-11-02 18:41:32.000000000 +0300\n+++ git-svn\t2007-11-12 19:35:44.000000000 +0300\n@@ -406,6 +406,9 @@ sub cmd_dcommit {\n \t\t\tmy %ed_opts = ( r => $last_rev,\n \t\t\t                log => get_commit_entry($d)->{log},\n \t\t\t                ra => Git::SVN::Ra->new($gs->full_url),\n+\t\t\t                config => SVN::Core::config_get_config(\n+\t\t\t                        $Git::SVN::Ra::config_dir\n+\t\t\t                ),\n \t\t\t                tree_a => \"$d~1\",\n \t\t\t                tree_b => $d,\n \t\t\t                editor_cb => sub {\n"},{"id":"60174","messageId":"20071117212241.GA22835@soma","threadId":"10859","inReplyTo":"200711140352.02978.voxus@onphp.org","subject":"Re: [PATCH] git-svn's dcommit must use subversion's config","fromName":"Eric Wong","fromEmail":"normalperson@yhbt.net","sentAt":"2007-11-17T21:22:41Z","receivedAt":"2007-11-17T21:22:41Z","isPatch":true,"sender":{"key":"e@80x24.org","avatar":null},"body":"\"Konstantin V. Arkhipov\" <voxus@onphp.org> wrote:\n> When doing dcommit git-svn must use subversion's config or newly created\n> files will not include svn's properties\n> (defined in [auto-props] with 'enable-auto-props = yes').\n> \n> Signed-off-by: Konstantin V. Arkhipov <voxus@onphp.org>\n\n> ---\n> --- git-svn\t2007-11-02 18:41:32.000000000 +0300\n> +++ git-svn\t2007-11-12 19:35:44.000000000 +0300\n\nThanks Konstantin,\n\nI needed to add '.perl' to the filenames above to get the patch to\napply.  But otherwise,\n\nAcked-by: Eric Wong <normalperson@yhbt.net>\n\n> @@ -406,6 +406,9 @@ sub cmd_dcommit {\n>  \t\t\tmy %ed_opts = ( r => $last_rev,\n>  \t\t\t                log => get_commit_entry($d)->{log},\n>  \t\t\t                ra => Git::SVN::Ra->new($gs->full_url),\n> +\t\t\t                config => SVN::Core::config_get_config(\n> +\t\t\t                        $Git::SVN::Ra::config_dir\n> +\t\t\t                ),\n>  \t\t\t                tree_a => \"$d~1\",\n>  \t\t\t                tree_b => $d,\n>  \t\t\t                editor_cb => sub {\n\n-- \nEric Wong\n"}]}