Re: After git svn clone master is tied to a branch in svn, howto set master to trunk
- From
- Svenn Are Bjerkem <svenn.bjerkem@googlemail.com>
- Date
- Mar 11, 2009, 16:04 UTC
- Message-ID
- <7ec81af9-d5eb-42a4-b6af-22e7a3ab89f8@t7g2000yqa.googlegroups.com>
- In-Reply-To
- <09fb20f5-3722-49d4-9565-95a5b41d15ac@c36g2000yqn.googlegroups.com>
On Mar 11, 4:17 pm, Svenn Are Bjerkem <svenn.bjer...@googlemail.com> wrote:
Show 7 quoted lines
> Hi, > after performing a > $> git svn clone https://svnserver/svn/a/b/c-T trunk/current -t tags - > b branches > I find that the git master has been tied to one of the branches. It > turns out that the highest svn revision number in the repository was > tied to that branch.
[snip]
> I guess I could solve the problem by modifying a file in trunk on svn > and commit so that the trunk will get the highest svn revision number > again and redo the clone.
I just wanted to confirm this assumption: First I removed the complete git-svn clone and modified a file in trunk and checked it into svn. Then I re-performed the git svn clone as described above. The master in the local git repository is now tied to the trunk of the svn repository.
-- Svenn