Re: [CFH] Remotes conversion script
- From
- Santi <sbejar@gmail.com>
- Date
- Sep 24, 2006, 22:34 UTC
- Message-ID
- <8aa486160609241534yc78b194g64038fe22048c443@mail.gmail.com>
- In-Reply-To
- <20060924221644.GE13132@pasky.or.cz>
2006/9/25, Petr Baudis <pasky@ucw.cz>:
Show 12 quoted lines
> Dear diary, on Sun, Sep 24, 2006 at 11:57:34PM CEST, I got a letter > where Santi <sbejar@gmail.com> said that... > > 2006/9/24, Petr Baudis <pasky@suse.cz>: > > > I think about supporting just the [remote] sections in Cogito since > > >they are much easier to handle than the remotes/ file format, > > > > What about branches/ files? > > I don't know yet. Cogito will certainly *recognize* them for *long* time > ahead (many months to be sure), no matter what will we decide to do with > them. Of course Cogito would start being growingly critical about them. >
It could be I'm wrong (for sure, I miss something), but I see the branches/ files like [remote] sections files with just one fetch:
.git/branches/git: git://...../git.gi
would be:
[remote "git"] url=git://...../git.git fetch=refs/heads/master:refs/heads/git
you could have a wrapper around repo-config to "support" only the [remote] sections.
Santi