~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to obsolete/bzr-push

  • Committer: Aaron Bentley
  • Date: 2006-06-27 14:36:32 UTC
  • Revision ID: abentley@panoramicfeedback.com-20060627143632-0f4114d7b0a8d7d9
Fix zap for checkouts of branches with no parents

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
from bzrlib import Branch
19
19
import sys
20
20
import os
21
 
import scriptlib
 
21
import bzrtools 
22
22
 
23
23
cur_branch = Branch(".")
24
24
if len(sys.argv) > 1:
25
25
    location = sys.argv[1]
26
26
else:
27
27
    location = None
28
 
scriptlib.push(cur_branch, location)
 
28
bzrtools.rpush(cur_branch, location)
29
29