From: Shiraz Hashim Date: Tue, 03 Apr 2012 04:00:01 GMT Subject: Re: query: picking dependant commits from a latest tree Message-ID: <20120403040001.GQ1766@localhost.localdomain> In-Reply-To: <4F75DF56.10902@gmail.com> Hi Neal, On Sat, Mar 31, 2012 at 12:29:10AM +0800, Neal Kreitzinger wrote: > On 3/27/2012 4:55 AM, Shiraz Hashim wrote: > > > > If I try to pick commits from a latest tree for a particular feature > > then what is the best way to find out all dependant commits. > > > > So for example for the commit which I want to pick there are 10 other > > commits around that file but some affect other files which themselves > > have several commits which I must apply. > > > > Is their a way to do this efficiently ? > > > You're assuming all dependencies reside in the same commits or in common > files. If the changes in a commit are dependent on the previous commit > and they do not share any of the same files then what you are proposing > is not going to catch that. You are right, but this would perhaps be caught during tests. But in the first place how can I find dependent commits to pass build test. -- regards Shiraz