Changeset 3043 for trunk/packages/invirt-dev/invirtibuilder
- Timestamp:
- Jul 6, 2010, 12:28:25 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/invirt-dev/invirtibuilder
r3036 r3043 130 130 131 131 132 def tagSubmodule(pocket, package, principal, version, env):132 def tagSubmodule(pocket, package, commit, principal, version, env): 133 133 """Tag a new version of a submodule. 134 134 … … 154 154 c.captureOutput( 155 155 ['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 160 def updateSubmoduleBranch(pocket, package, commit): 161 161 """Update the appropriately named branch in the submodule.""" 162 162 branch = b.pocketToGit(pocket) 163 163 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)) 165 165 166 166
Note: See TracChangeset
for help on using the changeset viewer.