~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to push.py

  • Committer: Aaron Bentley
  • Date: 2005-06-22 19:08:29 UTC
  • Revision ID: abentley@panoramicfeedback.com-20050622190829-8813e668768cafc5
Used the bzr 0.5+ plugin stuff

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
# You should have received a copy of the GNU General Public License
14
14
# along with this program; if not, write to the Free Software
15
15
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
16
 
from bzrlib.branch import Branch
 
16
from bzrlib import Branch
17
17
from bzrlib.commands import Command
18
18
import sys
19
19
import os
29
29
    takes_args = ['location?']
30
30
 
31
31
    def run(self, location=None):
32
 
        cur_branch = Branch.open_containing(".")
 
32
        cur_branch = Branch(".")
33
33
        bzrtools.push(cur_branch, location)