Re: [CFH] Remotes conversion script
- From
Petr Baudis <pasky@ucw.cz>
- Date
- Sep 24, 2006, 22:16 UTC
- Message-ID
- <20060924221644.GE13132@pasky.or.cz>
- In-Reply-To
- <8aa486160609241457u40fffdd8h298e44351749bb29@mail.gmail.com>
Dear diary, on Sun, Sep 24, 2006 at 11:57:34PM CEST, I got a letter where Santi <sbejar@gmail.com> said that...
Show 5 quoted lines
> 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.
But the best technical solution is probably to stop using remote branches in the heads namespace in new repositories altogether and strictly create a new [remote] per each repository you fetch from (no matter if it's a single branch or all of them or just a set), and there will be cg-remote-add and perhaps cg-remote-chg to help you maintain that easily.
--
Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
#!/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj
$/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1
lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/)