~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/push.py

  • Committer: Ross Lagerwall
  • Date: 2012-08-07 06:32:51 UTC
  • mto: (6437.63.5 2.5)
  • mto: This revision was merged to the branch mainline in revision 6558.
  • Revision ID: rosslagerwall@gmail.com-20120807063251-x9p03ghg2ws8oqjc
Add bzrlib/locale to .bzrignore

bzrlib/locale is generated with ./setup.py build_mo which is in turn called
by ./setup.py build

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2008-2012 Canonical Ltd
 
1
# Copyright (C) 2008, 2009, 2010 Canonical Ltd
2
2
#
3
3
# This program is free software; you can redistribute it and/or modify
4
4
# it under the terms of the GNU General Public License as published by
68
68
    :param location: the url of the destination
69
69
    :param to_file: the output stream
70
70
    :param verbose: if True, display more output than normal
71
 
    :param overwrite: list of things to overwrite ("history", "tags")
72
 
        or boolean indicating for everything
 
71
    :param overwrite: if False, a current branch at the destination may not
 
72
        have diverged from the source, otherwise the push fails
73
73
    :param remember: if True, store the location as the push location for
74
74
        the source branch
75
75
    :param stacked_on: the url of the branch, if any, to stack on;
135
135
        # Remembers if asked explicitly or no previous location is set
136
136
        if (remember
137
137
            or (remember is None and br_from.get_push_location() is None)):
138
 
            # FIXME: Should be done only if we succeed ? -- vila 2012-01-18
139
138
            br_from.set_push_location(br_to.base)
140
139
    else:
141
140
        if stacked_on is not None: