Re: [PATCH] cg-init shouldn't create master branch when pulling
- From
- Pavel Roskin <proski@gnu.org>
- Date
- May 3, 2005, 20:48 UTC
- Message-ID
- <1115153289.28520.17.camel@dv.roinet.com>
- In-Reply-To
- <1114637617.15385.10.camel@dv>
Hello!
Replying to myself.
On Wed, 2005-04-27 at 17:33 -0400, Pavel Roskin wrote:
Show 7 quoted lines
> Hello! > > >From what I see in the current cogito sources, ".git/refs/heads/master" > is never used once it's created by cg-init. I believe the "master" > branch is only useful when creating a new repository. Then it's the > only branch in the repository. >
Please ignore this patch for now. It turn out that the repositories with only "origin" branch don't get updated properly by cg-update. Changes don't get merged, so cg-cancel need to be run after cg-update.
It looks like that the "master" branch is needed, although it's not documented anywhere. Or maybe we need some further changes to support origin-only repositories. In any case, changing cg-init is not sufficient.
-- Regards, Pavel Roskin