Re: git svn dcommit <branch> committed to trunk anyway
- From
Thomas Rast <trast@student.ethz.ch>
- Date
- May 7, 2012, 09:44 UTC
- Message-ID
- <87txzsba0o.fsf@thomas.inf.ethz.ch>
- In-Reply-To
- <CAH3AnroP+ckzgijibPDEupBCfUFu5Bwsq8YP58h+igXoJyJEyg@mail.gmail.com>
Jon Seymour <jon.seymour@gmail.com> writes:
Show 8 quoted lines
> I expected git svn dcommit <branch> to push commits into the svn > branch called <branch> (a repo relative URL of > /branches/foobar1/foobar2/<branch>) > > However, it decided to push into trunk instead, which was not the > intended effect. > > What have I misunderstood about how git svn dcommit is supposed to work?
Did the commits you dcommitted have any git-svn-id lines? It dcommits (or at least it's supposed to :-) in the directory listed in the git-svn-id line found by (roughly)
git log --first-parent -1 --grep=^git-svn-id:
--
Thomas Rast
trast@{inf,student}.ethz.ch