threads / discuss / 12271

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

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

## tl;dr

3 messages between Feb 23, 2008 and Feb 23, 2008.

replies: 2people: 2as markdown or json

Adam Mercer· Feb 23, 2008, 17:38 UTC · lore
Hi

I want to start using git to track the upstream svn repository of a project I work on but am running into a couple of problems that I need to resolve before I can do this.

1) Is there a way that I can set, or modify, svn properties of files,
for example svn:keywords or svn:eol-style using git-svn?
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?
Cheers
Adam
Björn Steinbrink· Feb 23, 2008, 18:18 UTC · re: Adam Mercer · lore

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

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
Adam Mercer· Feb 23, 2008, 18:23 UTC · re: Björn Steinbrink · lore

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

On Sat, Feb 23, 2008 at 1:18 PM, Björn Steinbrink <B.Steinbrink@gmx.de> wrote:
>  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.
Fantastic, thanks I didn't see that option!
Cheers
Adam

← back to recent threads