[Buildbot-devel] override revision being checked out

Dustin J. Mitchell dustin at v.igoro.us
Sat Nov 22 18:24:56 UTC 2014


Is your 'workdir' step checking out *from* ../merge-dir?  That might
be easiest with a basic shellcommand, yes.  But maybe I don't
understand what you're trying to do.

Dustin

On Mon, Nov 17, 2014 at 6:27 AM, Vitali Lovich <vlovich at gmail.com> wrote:
> Hi,
>
> I’m wondering how I override the revision that git checks out?
> The model I have set up is as follows:
> merge-dir: checkout destination branch, merge in requested revision (i.e. revision property)
> workdir: checkout merged result
>
> The problem I’m having is that the Git step of workdir still always checks out the original revision.
> I tried overriding ‘revision’ right before the Git step for workdir to no avail.  I tried setting got_revision,
> but it looked to be ignored.
>
> How do I go about having the Git step check out the revision I want instead of the revision it thinks I want?
> Is falling back to command-line git the only way?
>
> Thanks,
> Vitali
> ------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
> http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
> _______________________________________________
> Buildbot-devel mailing list
> Buildbot-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/buildbot-devel




More information about the devel mailing list