Changeset 3041 for trunk


Ignore:
Timestamp:
Jul 6, 2010, 12:28:15 AM (14 years ago)
Author:
gdb
Message:

Do work from correct cwd

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/invirt-dev/python/invirt/builder.py

    r3036 r3041  
    147147        # Almost by definition, A is a fast-forward of B if B..A is
    148148        # empty
    149         if not c.captureOutput(['git', 'rev-list', '%s..%s' % (commit, branch)]):
     149        if not c.captureOutput(['git', 'rev-list', '%s..%s' % (commit, branch)],
     150                               cwd=package_repo):
    150151            raise InvalidBuild('New commit %s of %s is not a fast-forward of'
    151152                               'commit currently in pocket %s' %
Note: See TracChangeset for help on using the changeset viewer.