15
15
# along with this program; if not, write to the Free Software
16
16
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20
20
from bzrlib.workingtree import WorkingTree
23
23
from bzrlib.plugins.bzrtools.bzrtools import open_from_url
25
26
def patch(tree, location, strip, quiet=False):
26
27
"""Apply a patch to a branch, using patch(1). URLs may be used."""