[bitbake-devel] [PATCH RFC] fetch2/svn.py: use log instead of info to retrieve revision

Paul Eggleton paul.eggleton at linux.intel.com
Thu Nov 7 16:26:33 UTC 2013


Hi Nicolas,

On Monday 04 November 2013 10:48:24 Nicolas Dechesne wrote:
> On Thu, Oct 31, 2013 at 5:36 PM, Nicolas Dechesne
> <nicolas.dechesne at linaro.org> wrote:
> > We have faced a corner case situation where the 'last changed
> > revision' returned from svn info is wrong. It happens when the last
> > revision is a directory move. e.g. if we assume that the svn
> > repository at revA has root/x/y/z/foo/bar and it is moved to
> > root/a/b/c/foo/bar in revB, then svn info 'last change revision' will
> > return revA. As such when using AUTOREV, we are going to attempt to
> > retrieve root/a/b/c/foo/bar (as per SRC_URI) but at revA when it did
> > not exist.
> > 
> > So this patch changes how we retrieve the latest revision and uses
> > 'svn log --limit 1' which gives correct result in all tested cases.
> 
> Richard, thanks for merging in master. any chance this can go to dora
> and dylan too, as this is a bug fix? the same patch applies in both
> branches, and we are currently using dylan and dora for our projects.

OK, I've queued it up for dylan as well.

Thanks,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



More information about the bitbake-devel mailing list