~yasumoto7/five-a-day/icon_countdown

« back to all changes in this revision

Viewing changes to 5-a-day

  • Committer: Daniel Holbach
  • Date: 2008-07-10 16:13:07 UTC
  • mfrom: (97.1.1 five-a-day)
  • Revision ID: daniel.holbach@canonical.com-20080710161307-pe7ggp1l6xye9uth
* fiveaday/bzr.py:
  commit_changes: rename force param to force_push
  add: add force_push param, which gets passed to commit_changes
* 5-a-day:
  On "--add", if the local branch does not exist yet, force pushing
  after adding the bug. (LP: #245866)
  - users push to their local branches. If the remote branch is
    older than 60 minutes, it gets pushed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
    if args[0] == "--add":
30
30
        if not os.path.exists(files.local_branch()):
31
31
            bzr.update_branch()
 
32
            return bzr.add(args[1:], force_push=True)
32
33
        return bzr.add(args[1:])
33
34
 
34
35
    if args[0] in ["--add-tag", "--remove-tag"]: