~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to bzrtools.py

  • Committer: Aaron Bentley
  • Date: 2006-10-25 13:35:12 UTC
  • Revision ID: abentley@panoramicfeedback.com-20061025133512-09660b1b3104b054
Update version number to 0.13.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
249
249
    if push_location is None:
250
250
        raise BzrCommandError("No rspush location known or specified.")
251
251
 
252
 
    if (push_location.find('::') != -1):
253
 
        usessh=False
254
 
    else:
255
 
        usessh=True
256
 
 
257
252
    if (push_location.find('://') != -1 or
258
253
        push_location.find(':') == -1):
259
254
        raise BzrCommandError("Invalid rsync path %r." % push_location)
288
283
                " specified location.  Please ensure that"
289
284
                ' "%s" is of the form "machine:/path".' % push_location)
290
285
    print "Pushing to %s" % push_location
291
 
    rsync(tree.basedir+'/', push_location, ssh=usessh, 
 
286
    rsync(tree.basedir+'/', push_location, ssh=True, 
292
287
          excludes=final_exclusions)
293
288
 
294
289
    set_push_data(tree, push_location)