let an apt copy prevent the fast-forward and increasing-version-number
checks from running.
svn path=/trunk/packages/invirt-dev/; revision=2834
package_repo = getRepo(package)
new_version = getVersion(package, commit)
+ ret = True
+
for p in config.build.pockets:
if p == pocket:
continue
if current_version == new_version:
if current_commit == commit:
- return p
+ ret = p
else:
raise InvalidBuild('Version %s of %s already available in '
'pocket %s from commit %s' %
'commit currently in pocket %s' %
(commit, package, pocket))
-
+ return ret