{"thread":{"id":"27516","subject":"Git svn dcommit -> ignore one commit","startedAt":"2011-06-01T06:21:30Z","lastAt":"2011-06-01T08:44:27Z","messageCount":2,"participants":["Dominik \"Socek\" Długajczyk","Matthieu Moy"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"169095","messageId":"4DE5DA6A.8020201@codepill.com","threadId":"27516","inReplyTo":null,"subject":"Git svn dcommit -> ignore one commit","fromName":"Dominik \"Socek\" Długajczyk","fromEmail":"dominik.dlugajczyk@codepill.com","sentAt":"2011-06-01T06:21:30Z","receivedAt":"2011-06-01T06:21:30Z","isPatch":false,"sender":{"key":"dominik.dlugajczyk@codepill.com","avatar":null},"body":"Hi.\n\nIn my company, we need to use svn repository, but we want to use git. We \ndecide to use git svn. Everyone will commit and push changes to git \nrepository. One guy will pull from this repository and dcommit it to \nsubversion. Everything looks ok, but in this repo we need some \nsubmodule. This submodule is already in subversion as \"external\". I have \na commit, that adds submodule. This commit always fails when I use git \nsvn dcommit. I can remove this commit by git rebase, but i have to do \nthis always when I use dcommit.\nMy question: is there posibility to make dcommit ignore one specyfic commit?\n\nThanks\nDominik \"Socek\" Długajczyk\n"},{"id":"169102","messageId":"vpqaae2lz4k.fsf@bauges.imag.fr","threadId":"27516","inReplyTo":"4DE5DA6A.8020201@codepill.com","subject":"Re: Git svn dcommit -> ignore one commit","fromName":"Matthieu Moy","fromEmail":"matthieu.moy@grenoble-inp.fr","sentAt":"2011-06-01T08:44:27Z","receivedAt":"2011-06-01T08:44:27Z","isPatch":false,"sender":{"key":"matthieu.moy@grenoble-inp.fr","avatar":"https://gravatar.com/avatar/72c8a2705971a25dfaff23cece15130d405685845d911aedd5667ace277f3fc5?d=mp&s=160"},"body":"\"Dominik \\\"Socek\\\" Długajczyk\" <dominik.dlugajczyk@codepill.com> writes:\n\n> My question: is there posibility to make dcommit ignore one specyfic commit?\n\nYou can probably use \"git svn set-tree\" for the commit after the one you\nwant to ignore. Test on a dumb repo before doing it in production ;-).\n\n-- \nMatthieu Moy\nhttp://www-verimag.imag.fr/~moy/\n"}]}