~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to bzrtools.py

  • Committer: Aaron Bentley
  • Date: 2006-05-03 20:05:46 UTC
  • mto: This revision was merged to the branch mainline in revision 366.
  • Revision ID: abentley@panoramicfeedback.com-20060503200546-83ae584b88d70a6b
Changed rpush to rspush

Show diffs side-by-side

added added

removed removed

Lines of Context:
241
241
    except RsyncNoFile:
242
242
        return True
243
243
 
244
 
def rpush(tree, location=None, overwrite=False, working_tree=True):
 
244
def rspush(tree, location=None, overwrite=False, working_tree=True):
245
245
    push_location = get_push_data(tree)
246
246
    if location is not None:
247
247
        if not location.endswith('/'):
249
249
        push_location = location
250
250
    
251
251
    if push_location is None:
252
 
        raise BzrCommandError("No rpush location known or specified.")
 
252
        raise BzrCommandError("No rspush location known or specified.")
253
253
 
254
254
    if (push_location.find('://') != -1 or
255
255
        push_location.find(':') == -1):