~yasumoto7/five-a-day/icon_countdown

« back to all changes in this revision

Viewing changes to fiveaday/bzr.py

  • Committer: Daniel Holbach
  • Date: 2008-08-02 09:16:23 UTC
  • Revision ID: daniel.holbach@canonical.com-20080802091623-4ql0kacnhciz69p9
Improved debug statement.

Show diffs side-by-side

added added

removed removed

Lines of Context:
99
99
 
100
100
    # check if pushed already in the last hour:
101
101
    if not force_push:
102
 
        print "Trying to push to '%s'." % "http://"+remote_branch().split("@")[1]
103
 
        b = branch.Branch.open("http://"+remote_branch().split("@")[1])
 
102
        readonly_branch_url = "http://"+remote_branch().split("@")[1]
 
103
        print "Checking '%s'." % readonly_branch_url
 
104
        b = branch.Branch.open(readonly_branch_url)
104
105
        last_rev = b.last_revision()
105
106
        if last_rev:
106
107
            last_rev = b.repository.get_revision(last_rev)