From: Petr Baudis Date: Tue, 20 Sep 2005 00:26:31 GMT Subject: Re: Joining cg-*-id Message-ID: <20050920002630.GA13537@pasky.or.cz> In-Reply-To: <1127175590.31115.10.camel@dv> Dear diary, on Tue, Sep 20, 2005 at 02:19:50AM CEST, I got a letter where Pavel Roskin told me that... > As for merging, I see that the existing *-id scripts are a mess. For > instance, cg-parent returns parents separated by spaces, but cg-diff > used "head -1" on its output to get the first parent, i.e it assumes > newline separated output. Actually, cg-parent-id's documentation seems to be wrong. We always return only the first parent. I've just updated the documentation for now, even though in the future we might want to change this to reflect the original documentation instead. > Another thing that is broken is "cg-commit-id origin^" - apparently the > "^" parsing is only designed for cg-parent-id. That's a bug, IIRC it was originally meant to be general. > I think I'll start a local branch for fixing this, and then I'll send > separate patches. Good idea. -- Petr "Pasky" Baudis Stuff: http://pasky.or.cz/ VI has two modes: the one in which it beeps and the one in which it doesn't.