~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to push.py

  • Committer: Jelmer Vernooij
  • Date: 2005-10-17 19:06:12 UTC
  • Revision ID: jelmer@samba.org-20051017190612-04f4c8c8c22fc198
Fix for new Option API

Show diffs side-by-side

added added

removed removed

Lines of Context:
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
16
from bzrlib.branch import Branch
17
 
from bzrlib.commands import Command, OPTIONS
 
17
from bzrlib.commands import Command
 
18
from bzrlib.option import Option
18
19
import sys
19
20
import os
20
21
import bzrtools 
21
22
 
22
 
OPTIONS['overwrite'] = None
 
23
Option.OPTIONS['overwrite'] = Option('overwrite')
23
24
 
24
25
class cmd_push(Command):
25
26
    """Upload this branch to another location using rsync.