threads / discuss / 27516

Git svn dcommit -> ignore one commit

Subject: Git svn dcommit -> ignore one commit

## tl;dr

2 messages between Jun 1, 2011 and Jun 1, 2011.

replies: 1people: 2as markdown or json

Dominik "Socek" Długajczyk· Jun 1, 2011, 06:21 UTC · lore
Hi.

In my company, we need to use svn repository, but we want to use git. We decide to use git svn. Everyone will commit and push changes to git repository. One guy will pull from this repository and dcommit it to subversion. Everything looks ok, but in this repo we need some submodule. This submodule is already in subversion as "external". I have a commit, that adds submodule. This commit always fails when I use git svn dcommit. I can remove this commit by git rebase, but i have to do this always when I use dcommit. My question: is there posibility to make dcommit ignore one specyfic commit?

Thanks Dominik "Socek" Długajczyk

Matthieu Moy· Jun 1, 2011, 08:44 UTC · re: Dominik "Socek" Długajczyk · lore

Re: Git svn dcommit -> ignore one commit

"Dominik \"Socek\" Długajczyk" <dominik.dlugajczyk@codepill.com> writes:
> My question: is there posibility to make dcommit ignore one specyfic commit?

You can probably use "git svn set-tree" for the commit after the one you want to ignore. Test on a dumb repo before doing it in production ;-).

-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/

← back to recent threads