From: Petr Baudis Date: Mon, 09 May 2005 08:46:06 GMT Subject: Re: [RFC] allow file list editing during cg-commit Message-ID: <20050509084606.GD3599@pasky.ji.cz> In-Reply-To: <1115627229.8949.132.camel@pegasus> Dear diary, on Mon, May 09, 2005 at 10:27:09AM CEST, I got a letter where Marcel Holtmann told me that... > Hi Eugene, Hello, > > I just started playing with cogito and failed to find _easy_ way to > > select which files will be committed and which won't. cg-commit seems > > to support specifying file list in command line, but this isn't very > > convenient when the list is big. > > do you know any SCM native text interface that supports such a thing? In > general this is done by high-level GUI based interfaces to the SCM or a > special Emacs mode etc. so what? I still think the idea is cool, why shouldn't support it if noone else does? The only thing to watch out for is that cg-commit -C produces no such list at all; it should deal with that and tell the user he is not going to be able to control what is going to be committed then. Another thing is that at the moment you modify the file list, you should set customfiles - otherwise you will commit even cg-adds and cg-rms of files you didn't select. But do that really only when you change the file list, since it is more expensive. You should also place an appropriate hint near the CG: lines, saying that removing some of them will limit the list of files to be committed. -- Petr "Pasky" Baudis Stuff: http://pasky.or.cz/ C++: an octopus made by nailing extra legs onto a dog. -- Steve Taylor