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

Nicolas Dechesne nicolas.dechesne at linaro.org
Mon Nov 4 18:48:24 UTC 2013


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.

thanks



More information about the bitbake-devel mailing list