{"thread":{"id":"12271","subject":"Setting SVN properties with git-svn, and removing empty directories","startedAt":"2008-02-23T17:38:03Z","lastAt":"2008-02-23T18:23:37Z","messageCount":3,"participants":["Adam Mercer","Björn Steinbrink"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"69687","messageId":"799406d60802230938s559168f8lc9b1f640f2c07fee@mail.gmail.com","threadId":"12271","inReplyTo":null,"subject":"Setting SVN properties with git-svn, and removing empty directories","fromName":"Adam Mercer","fromEmail":"ramercer@gmail.com","sentAt":"2008-02-23T17:38:03Z","receivedAt":"2008-02-23T17:38:03Z","isPatch":false,"sender":{"key":"ramercer@gmail.com","avatar":"https://gravatar.com/avatar/16dc719817f62b75075d529ce4ea992ee82bb1a08e45a3029797f39223d6ee64?d=mp&s=160"},"body":"Hi\n\nI want to start using git to track the upstream svn repository of a\nproject I work on but am running into a couple of problems that I need\nto resolve before I can do this.\n\n1) Is there a way that I can set, or modify, svn properties of files,\nfor example svn:keywords or svn:eol-style using git-svn?\n\n2) Whenever I delete a directory using git-svn and merge my changes to\nthe upstream svn repository using \"git svn dcommit\" the directories in\nquestion are removed from the git repository but only the contents of\nthese directories are removed from the svn repository, the directories\nthemselves remain. Is there a way to ensure that these directories are\nremoved from the svn repository?\n\nCheers\n\nAdam\n"},{"id":"69689","messageId":"20080223181840.GA30325@atjola.homenet","threadId":"12271","inReplyTo":"799406d60802230938s559168f8lc9b1f640f2c07fee@mail.gmail.com","subject":"Re: Setting SVN properties with git-svn, and removing empty directories","fromName":"Björn Steinbrink","fromEmail":"b.steinbrink@gmx.de","sentAt":"2008-02-23T18:18:40Z","receivedAt":"2008-02-23T18:18:40Z","isPatch":false,"sender":{"key":"b.steinbrink@gmx.de","avatar":"https://avatars.githubusercontent.com/u/230962?v=4"},"body":"On 2008.02.23 12:38:03 -0500, Adam Mercer wrote:\n> 2) Whenever I delete a directory using git-svn and merge my changes to\n> the upstream svn repository using \"git svn dcommit\" the directories in\n> question are removed from the git repository but only the contents of\n> these directories are removed from the svn repository, the directories\n> themselves remain. Is there a way to ensure that these directories are\n> removed from the svn repository?\n\nAcccording to the man page, you can pass --rmdir to dcommit or set\nsvn.rmdir in the configuration to have git-svn delete empty directories\nin the SVN repo.\n\nBjörn\n"},{"id":"69691","messageId":"799406d60802231023p709cb53ay1a2ecf6b8865b943@mail.gmail.com","threadId":"12271","inReplyTo":"20080223181840.GA30325@atjola.homenet","subject":"Re: Setting SVN properties with git-svn, and removing empty directories","fromName":"Adam Mercer","fromEmail":"ramercer@gmail.com","sentAt":"2008-02-23T18:23:37Z","receivedAt":"2008-02-23T18:23:37Z","isPatch":false,"sender":{"key":"ramercer@gmail.com","avatar":"https://gravatar.com/avatar/16dc719817f62b75075d529ce4ea992ee82bb1a08e45a3029797f39223d6ee64?d=mp&s=160"},"body":"On Sat, Feb 23, 2008 at 1:18 PM, Björn Steinbrink <B.Steinbrink@gmx.de> wrote:\n\n>  Acccording to the man page, you can pass --rmdir to dcommit or set\n>  svn.rmdir in the configuration to have git-svn delete empty directories\n>  in the SVN repo.\n\nFantastic, thanks I didn't see that option!\n\nCheers\n\nAdam\n"}]}