~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to rspush.py

  • Committer: Aaron Bentley
  • Date: 2011-04-12 04:51:37 UTC
  • Revision ID: aaron@aaronbentley.com-20110412045137-ni3eart33v4wnlst
Allow zap --branch --store if no uncommitted changes.

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.commands import Command
17
16
from bzrlib.option import Option
18
17
from bzrlib.workingtree import WorkingTree
19
18
import sys
20
19
import os
21
20
import bzrtools
22
21
 
 
22
from command import BzrToolsCommand
23
23
 
24
 
class cmd_rspush(Command):
 
24
class cmd_rspush(BzrToolsCommand):
25
25
    """Upload this branch to another location using rsync.
26
26
 
27
27
    If no location is specified, the last-used location will be used.  To