git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Setting SVN properties with git-svn, and removing empty directories

From
Björn Steinbrink <b.steinbrink@gmx.de>
Date
Feb 23, 2008, 18:18 UTC
Message-ID
<20080223181840.GA30325@atjola.homenet>
In-Reply-To
<799406d60802230938s559168f8lc9b1f640f2c07fee@mail.gmail.com>
On 2008.02.23 12:38:03 -0500, Adam Mercer wrote:
Show 6 quoted lines
> 2) Whenever I delete a directory using git-svn and merge my changes to
> the upstream svn repository using "git svn dcommit" the directories in
> question are removed from the git repository but only the contents of
> these directories are removed from the svn repository, the directories
> themselves remain. Is there a way to ensure that these directories are
> removed from the svn repository?

Acccording to the man page, you can pass --rmdir to dcommit or set svn.rmdir in the configuration to have git-svn delete empty directories in the SVN repo.

Björn
Previous: Adam MercerNext: Adam Mercer
Message 2 of 3 in “Setting SVN properties with git-svn, and removing empty directories”
  1. Adam MercerFeb 23, 2008
  2. Björn SteinbrinkFeb 23, 2008
  3. Adam MercerFeb 23, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.