~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to bzr-push

  • Committer: Aaron Bentley
  • Date: 2005-05-10 19:20:53 UTC
  • Revision ID: abentley@troll-20050510192053-e73c9bf68158d32b
Added more vim swapfiles to ignore list

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
# You should have received a copy of the GNU General Public License
16
16
# along with this program; if not, write to the Free Software
17
17
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
18
import bzrlib
18
19
from bzrlib import Branch
 
20
from bzrlib.diff import diff_trees
19
21
import sys
20
22
import os
21
 
import bzrtools 
 
23
import scriptlib
22
24
 
23
25
cur_branch = Branch(".")
24
26
if len(sys.argv) > 1:
25
27
    location = sys.argv[1]
26
28
else:
27
29
    location = None
28
 
bzrtools.rpush(cur_branch, location)
 
30
scriptlib.push(cur_branch, location)
29
31