Changeset 3043 for trunk/packages


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

Minor touchups to invirtibuilder

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/invirt-dev/invirtibuilder

    r3036 r3043  
    130130
    131131
    132 def tagSubmodule(pocket, package, principal, version, env):
     132def tagSubmodule(pocket, package, commit, principal, version, env):
    133133    """Tag a new version of a submodule.
    134134
     
    154154        c.captureOutput(
    155155            ['git', 'tag', '-m', tag_msg, commit],
    156             stdout=None,
    157             env=env)
    158 
    159 
    160 def updateSubmoduleBranch(pocket, package, ref):
     156            env=env,
     157            cwd=b.getRepo(package))
     158
     159
     160def updateSubmoduleBranch(pocket, package, commit):
    161161    """Update the appropriately named branch in the submodule."""
    162162    branch = b.pocketToGit(pocket)
    163163    c.captureOutput(
    164         ['git', 'update-ref', 'refs/heads/%s' % branch, ref], cwd=b.getRepo(package))
     164        ['git', 'update-ref', 'refs/heads/%s' % branch, commit], cwd=b.getRepo(package))
    165165
    166166
Note: See TracChangeset for help on using the changeset viewer.