~anybox/anybox.recipe.openerp/1.7

« back to all changes in this revision

Viewing changes to anybox/recipe/openerp/vcs/bzr.py

  • Committer: Georges Racinet
  • Date: 2013-09-06 11:13:14 UTC
  • mfrom: (407.1.1 trunk)
  • Revision ID: gracinet@anybox.fr-20130906111314-f4w9809nntwb9g0v
Merged lp:~lpistone/anybox.recipe.openerp/trunk-fix-1216835, added BBB

Show diffs side-by-side

added added

removed removed

Lines of Context:
256
256
            logger.info("Stacked branching %s ...", url)
257
257
        elif bzr_opt == "ligthweight-checkout":
258
258
            branch_cmd.extend(["checkout", "--lightweight"])
259
 
            logger.info("Ligthweight checkout %s ...", url)
 
259
            logger.warn("The 'ligthweight-checkout' *misspelling* is "
 
260
                        "deprecated as of version 1.7.1 of this buildout "
 
261
                        "recipe. "
 
262
                        "Please fix it as 'lightweight-checkout', as it will "
 
263
                        "probably disappear in version 1.8.")
 
264
            logger.info("Lightweight checkout %s ...", url)
 
265
        elif bzr_opt == "lightweight-checkout":
 
266
            branch_cmd.extend(["checkout", "--lightweight"])
 
267
            logger.info("Lightweight checkout %s ...", url)
260
268
        else:
261
269
            raise Exception("Unsupported option %r" % bzr_opt)
262
270